mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-01-15 23:55:57 +00:00
fix release
This commit is contained in:
parent
0045056a33
commit
11564bb642
@ -5,10 +5,11 @@ To trigger it, we just need to:
|
||||
|
||||
1. use poetry to update the version number
|
||||
2. update the changelog
|
||||
3. git commit
|
||||
4. git tag
|
||||
5. git push
|
||||
6. git push --tags
|
||||
3. update version number in flake.nix
|
||||
4. git commit
|
||||
5. git tag
|
||||
6. git push
|
||||
7. git push --tags
|
||||
|
||||
|
||||
For this, an helper script is provided:
|
||||
|
||||
@ -14,7 +14,7 @@ DATE=$(date +%Y-%m-%d)
|
||||
sed -i "/^## \[Unreleased\]/a \\\n## [v$NEW] - $DATE" CHANGELOG.md
|
||||
sed -i "/^\[Unreleased\]/s/$OLD/$NEW/" CHANGELOG.md
|
||||
sed -i "/^\[Unreleased\]/a [v$NEW]: https://github.com/nim65s/matrix-webhook/compare/v$OLD...v$NEW" CHANGELOG.md
|
||||
sed -i "/version/$OLD/$NEW/" flake.nix
|
||||
sed -i "/version/s/$OLD/$NEW/" flake.nix
|
||||
|
||||
git add pyproject.toml CHANGELOG.md
|
||||
git commit -m "Release v$NEW"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user