-
Notifications
You must be signed in to change notification settings - Fork 23
Home
KOBAYASHI Shigeru edited this page Jul 21, 2015
·
5 revisions
- Directory
-
newlisp/: this git repository -
newlisp-x.x.x/: latest source (inprogress) - Branch
-
master: previous source develop-
release/v.x.x.x: latest source - Todo : 自動化したい
cd $TEMP
git clone -b master https://github.com/kosh04/newlisp.git [GIT_NEWLISP_DIR]
curl -Os http://www.newlisp.org/downloads/development/[inprogress/]newlisp-x.x.x.tgz
tar xf newlisp-x.x.x.tgz
cp -pr GIT_NEWLISP_DIR/{.git,.gitignore} newlisp-x.x.x/ # 元リポジトリのコピー環境を作る
cd newlisp-x.x.x
git checkout -b release/v.x.x.x # リリース作業用ブランチを作成する
git add -p -u . # 変更や削除されたファイルはすべて追跡する
git add NEWFILES # 新規に追加されたファイルは手動で追加する
git commit -m COMMIT_MESSAGE # コミット。コメントは `doc/CHANGES` を引用する
git checkout master
git merge release/v.x.x.x
git tag -a x.x.x -m MESSAGE # バージョン番号でタグ付けする (e.g. MESSAGE="Stable release 2015-01-01")
git checkout develop
git merge release/v.x.x.x
git push origin master # リモートサーバに変更をプッシュする
git push origin develop # (releaseブランチはこれ以上必要ないためプッシュしない)
git push origin TAGNAME # タグをプッシュする (--tags オプションならば全てのタグをプッシュ)