LoginSignup
0
1

More than 3 years have passed since last update.

Gitでタグ打ちの手順

Posted at

GnuPGをインストール

$ brew install gnupg

以下のURLの手順に従う

・GPGキーペアを作成 (emailはGitHubアカウントのemail)
・GitHubアカウントへのGPGキーの登録
・Gitに署名キーを伝える
・macOSの場合pinentry-macが必要になる

$ brew install pinentry-mac
You can now set this as your pinentry program like

~/.gnupg/gpg-agent.conf
    pinentry-program /usr/local/bin/pinentry-mac

$ echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
$ killall gpg-agent

・タグに署名する

$ git tag -s <tag-name>
$ git tag -s v1.13.6

・タグをpush

$ git push origin <tag-name>
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1