We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3767ee4 commit a163065Copy full SHA for a163065
.github/scripts/create_release.sh
@@ -20,9 +20,10 @@ if [ "$REF" == "" ]; then
20
fi
21
22
if [[ "$REF" =~ "refs/heads/" ]]; then
23
- TAG="${REF//refs\/heads\//}-$(date +%Y%m%d%H%M%S)"
+ BRANCH="${REF//refs\/heads\//}"
24
+ TAG="$BRANCH-$(date +%Y%m%d%H%M%S)"
25
echo "Creating release with tag $TAG"
- gh release create "$TAG" -d -p -F RELEASE.md
26
+ gh release create "$TAG" -d -p -F RELEASE.md --target $BRANCH
27
elif [[ "$REF" =~ "refs/tags" ]]; then
28
TAG="${REF//refs\/tags\//}"
29
0 commit comments