-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
anmolshres98
committed
Jan 15, 2025
1 parent
d4a693c
commit 2c6f02b
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
if [ -z "$1" ]; then | ||
echo "No refName was supplied" | ||
exit 1 | ||
fi | ||
|
||
refName=$1 | ||
echo "Ref name passed in: $refName" | ||
|
||
tagName=$(echo $refName | sed 's/refs\/tags\///') | ||
echo "Tag name was parsed as: $tagName" | ||
|
||
gh release create $tagName /packages/service --verify-tag |