fix release

This commit is contained in:
Guilhem Saurel 2024-03-09 00:31:34 +01:00
parent 793994d21a
commit 92783892bc
3 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
- fix release script to bump version number in flake.nix
## [v3.9.0] - 2024-03-09 ## [v3.9.0] - 2024-03-09
- add github-release-notifier formatter - add github-release-notifier formatter

View File

@ -16,7 +16,7 @@ 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/s/$OLD/$NEW/" flake.nix sed -i "/version/s/$OLD/$NEW/" flake.nix
git add pyproject.toml CHANGELOG.md git add pyproject.toml CHANGELOG.md flake.nix
git commit -m "Release v$NEW" git commit -m "Release v$NEW"
git tag -s "v$NEW" -m "Release v$NEW" git tag -s "v$NEW" -m "Release v$NEW"
git push git push

View File

@ -20,7 +20,7 @@
with pkgs.python3Packages; with pkgs.python3Packages;
buildPythonApplication { buildPythonApplication {
pname = "matrix-webhook"; pname = "matrix-webhook";
version = "3.8.0"; version = "3.9.0";
src = pkgs.nix-gitignore.gitignoreSource [ ./.nixignore ] ./.; src = pkgs.nix-gitignore.gitignoreSource [ ./.nixignore ] ./.;
pyproject = true; pyproject = true;
buildInputs = [ poetry-core ]; buildInputs = [ poetry-core ];