Skip to content

Commit 2ff1b7e

Browse files
committed
Fix justfile
1 parent a001e22 commit 2ff1b7e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

justfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
VERSION := `toml get Cargo.toml package.version | jq -r`
22
TARGET_DIR := "target/release"
3+
export TAG:=`toml get Cargo.toml "package.version" | jq -r .`
34

45
# List available commands
56
default:
@@ -47,3 +48,9 @@ brew:
4748

4849
bump:
4950
cargo workspaces version --no-git-push
51+
52+
tag:
53+
#!/usr/bin/env bash
54+
echo Tagging version v$TAG
55+
git tag "v$TAG" -f
56+
git tag | sort -Vr | head

0 commit comments

Comments
 (0)