Skip to content

Commit

Permalink
add script release
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriele Santomaggio <[email protected]>
  • Loading branch information
Gsantomaggio committed Jul 25, 2024
1 parent c2e9032 commit 2014bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create_tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ regex="^v([0-9]+)\.([0-9]+)\.([0-9]+)(-(alpha|beta|rc)\.([0-9]+))?$"

if [[ $version =~ $regex ]]; then
echo "Creating tag with: " $1
git tag -a -s -u GPG_KEY_ID -m 'rabbitmq-amqp-dotnet-client $1' '$1' && git push && git push --tags
echo "Tag created: " $1
git tag -a -s -u $2 -m "rabbitmq-amqp-dotnet-client $1" $1 && git push && git push --tags
echo "Tag created: " $1
else
echo "Invalid version" $1
fi
Expand Down

0 comments on commit 2014bf3

Please sign in to comment.