From cdf77655f7cf1ae4f705a1658f75ef9a7cdbe4e9 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 24 Jan 2024 22:13:20 +0100 Subject: [PATCH] release script update --- scripts/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index c2d0685..943ad51 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -2,7 +2,7 @@ TOKEN=$(cat ~/.git-credentials | grep 'git.cscherr.de' | grep -P '(?:)[^:]*(?=@)' -o) NEW_VERSION=$(cat Cargo.toml | rg '^\s*version\s*=\s*"([^"]*)"\s*$' -or '$1') GIT_COMMIT_SHA=$(git rev-parse HEAD) -REPO=autocrate +REPO=${PWD##*/} # name of cwd BODY=" $(git log $(git describe --tags --abbrev=0)..HEAD --pretty="- %s" --oneline --decorate) "