Skip to content

【手引】更新履歴(CHANGELOG.md)

のむら屋ごろう edited this page Jul 29, 2020 · 4 revisions

手順

WSL2 Ubuntu20.04で運用中。 github-changesを使用する。

コミットログ

github-changesで表示される内容を参照する。
どうすれば使いやすいか試行錯誤する必要はあるが、概ね以下のように運用している。 [YYYY/MM/DD] 【タグ】更新内容

https://github.com/shimajima-eiji/Chocolatey/blob/master/CHANGELOG.md

github-changesのインストール

apt install -y npm
npm install -g github-changes

https://github.com/shimajima-eiji/Chocolatey/blob/master/wsl/ubuntu/pre-install.sh を参照

本題:CHANGELOG.mdの更新

本アカウントの全体リポジトリでは以下のように実施している。

curl -sf https://raw.githubusercontent.com/shimajima-eiji/Chocolatey/master/wsl/update_CHANGELOG.sh | sh -s -- (ここにオプション)

https://github.com/shimajima-eiji/Chocolatey/blob/master/wsl/update_CHANGELOG.sh