From 899ea231701f6483720c6e8f90d1a49b0c3d63f2 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 12 Jan 2024 11:13:05 +0100 Subject: [PATCH] Add script to tag new release (#13) --- git-tag_release.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 git-tag_release.sh diff --git a/git-tag_release.sh b/git-tag_release.sh new file mode 100755 index 0000000..676ab5d --- /dev/null +++ b/git-tag_release.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Make a signed git tag for the current commit, for a new release +set -e +VERSION=$(cat share/torbrowser-launcher/version) +git tag -s --message="torbrowser-launcher version $VERSION" v$VERSION +echo "Created git tag v$VERSION"