Skip to content

Commit 2014bf3

Browse files
committed
add script release
Signed-off-by: Gabriele Santomaggio <[email protected]>
1 parent c2e9032 commit 2014bf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

create_tag.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ regex="^v([0-9]+)\.([0-9]+)\.([0-9]+)(-(alpha|beta|rc)\.([0-9]+))?$"
55

66
if [[ $version =~ $regex ]]; then
77
echo "Creating tag with: " $1
8-
git tag -a -s -u GPG_KEY_ID -m 'rabbitmq-amqp-dotnet-client $1' '$1' && git push && git push --tags
9-
echo "Tag created: " $1
8+
git tag -a -s -u $2 -m "rabbitmq-amqp-dotnet-client $1" $1 && git push && git push --tags
9+
echo "Tag created: " $1
1010
else
1111
echo "Invalid version" $1
1212
fi

0 commit comments

Comments
 (0)