aboutsummaryrefslogtreecommitdiffstats
path: root/justfile
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2024-11-30 13:23:35 +0100
committerDaniel Jankowski <daniel.jankowski@rub.de>2024-11-30 13:23:35 +0100
commitcf16ee9f2b20f26ecb13133b543fdd572797684b (patch)
treea19ac6442be1773821ae7ba7679eeebe9946a7c7 /justfile
parentchore: automatically set version (diff)
downloadsl0pstatus-cf16ee9f2b20f26ecb13133b543fdd572797684b.tar.gz
sl0pstatus-cf16ee9f2b20f26ecb13133b543fdd572797684b.tar.xz
sl0pstatus-cf16ee9f2b20f26ecb13133b543fdd572797684b.zip
chore: use correct version format
Diffstat (limited to 'justfile')
-rw-r--r--justfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/justfile b/justfile
index db84b7c..632fb1c 100644
--- a/justfile
+++ b/justfile
@@ -36,9 +36,9 @@ lint:
release:
#!/usr/bin/env bash
export VERSION="$( git cliff --bumped-version )"
- cargo set-version "$VERSION"
+ cargo set-version "${VERSION:1}"
direnv exec . cargo build --release
- git commit -am "chore: bump version to v$VERSION"
- git tag -m "v$VERSION" v$VERSION
+ git commit -am "chore: bump version to $VERSION"
+ git tag -m "$VERSION" "$VERSION"
git push origin main
- git push origin "v$VERSION"
+ git push origin "$VERSION"