Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Mar 8, 2024
1 parent 0045056 commit 11564bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 11564bb

Please sign in to comment.