Skip to content

Commit

Permalink
fix: script typo
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Nützi <gnuetzi@gmail.com>
  • Loading branch information
gabyx committed Jul 9, 2024
1 parent 6b61bf2 commit d9c583f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ function delete_prepare_tags() {
}

function create_prepare_tag() {
local tag="v$1"
local version="$1"
local tag="prepare-v$version"

print_info "Tagging with '$tag'."
git tag -a -m "Version $tag" "prepare-$tag" || die "Could not create tag."
git tag -a -m "Version $version" "$tag" || die "Could not create tag."

print_info "Tag contains:"
git cat-file -p "prepare-$tag" || die "Could not show tag content."
git cat-file -p "$tag" || die "Could not show tag content."
}

function commit_version_file() {
Expand Down

0 comments on commit d9c583f

Please sign in to comment.