mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-04-09 11:25:40 +00:00
fix release
This commit is contained in:
@@ -5,10 +5,11 @@ To trigger it, we just need to:
|
|||||||
|
|
||||||
1. use poetry to update the version number
|
1. use poetry to update the version number
|
||||||
2. update the changelog
|
2. update the changelog
|
||||||
3. git commit
|
3. update version number in flake.nix
|
||||||
4. git tag
|
4. git commit
|
||||||
5. git push
|
5. git tag
|
||||||
6. git push --tags
|
6. git push
|
||||||
|
7. git push --tags
|
||||||
|
|
||||||
|
|
||||||
For this, an helper script is provided:
|
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\]/a \\\n## [v$NEW] - $DATE" CHANGELOG.md
|
||||||
sed -i "/^\[Unreleased\]/s/$OLD/$NEW/" 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 "/^\[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 add pyproject.toml CHANGELOG.md
|
||||||
git commit -m "Release v$NEW"
|
git commit -m "Release v$NEW"
|
||||||
|
|||||||
Reference in New Issue
Block a user