diff options
author | Alan Pearce | 2025-03-24 14:33:35 +0100 |
---|---|---|
committer | Alan Pearce | 2025-03-24 14:33:35 +0100 |
commit | 0a2289ae1b3046be29d6dccb92dc871a2090fe7a (patch) | |
tree | e3f86e7092d8c3f7fe075c279c004be32e62f118 | |
parent | 7b8b638defa3cb4d18a79126f261115f971513c2 (diff) | |
download | searchix-0a2289ae1b3046be29d6dccb92dc871a2090fe7a.tar.lz searchix-0a2289ae1b3046be29d6dccb92dc871a2090fe7a.tar.zst searchix-0a2289ae1b3046be29d6dccb92dc871a2090fe7a.zip |
build: streamline release process
-rw-r--r-- | justfile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/justfile b/justfile index 5e2eb58..5f2cf57 100644 --- a/justfile +++ b/justfile @@ -51,9 +51,12 @@ update-nix-package-version: sd 'h=v.+$' "h=v$VER" nix/modules/default.nix release: clean-workdir changelog update-nix-package-version + #!/bin/sh + VERSION=$(convco version --bump --print-prefix) git add CHANGELOG.md nix/package.nix nix/modules/default.nix - git commit -m "chore: release $(convco version --bump)" - git tag $(convco version --bump --print-prefix) + git commit -m "chore: release ${VERSION}" + git tag "${VERSION}" + git push origin main "${VERSION}" run: dev |