diff options
Diffstat (limited to 'justfile')
-rw-r--r-- | justfile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/justfile b/justfile index 200457b..734cb1f 100644 --- a/justfile +++ b/justfile @@ -2,7 +2,7 @@ default: @just --list --justfile {{ justfile() }} --unsorted prepare: - nix build .#css -o frontend/static/base.css + cp -f $(nix build --print-out-paths .#css) frontend/static/base.css update-go-dependencies: go get -u all @@ -51,9 +51,13 @@ update-nix-package-version: sd 'h=v.+$' "h=v$VER" nix/modules/default.nix release: clean-workdir changelog update-nix-package-version + #!/bin/sh + set -eu + 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 @@ -62,6 +66,3 @@ dev: reindex *flags: wgo run --exit ./cmd/searchix-web --config config.toml --replace --dev {{ flags }} - -update *flags: - wgo run --exit ./cmd/searchix-web --config config.toml --update --dev {{ flags }} |