We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802b183 commit 1740bbdCopy full SHA for 1740bbd
.github/workflows/candidate-release.yml
@@ -21,13 +21,13 @@ jobs:
21
- name: Create tag
22
run: |
23
echo OUTPUT="$(git ls-remote --tags origin | grep ${TAG##*/})" >> $GITHUB_ENV
24
- echo "${OUTPUT:0-1}"
25
26
if [[ -n "$OUTPUT" ]]; then
27
- echo "${TAG##*/}-rc-`expr "${OUTPUT:0-1}" + 1`"
+ git tag "${TAG##*/}-rc-`expr "${OUTPUT:0-1}" + 1`"
28
else
29
- echo "${TAG##*/}-rc-1"
+ git tag "${TAG##*/}-rc-1"
30
fi
+ git push origin --tags
31
shell: bash
32
33
# - name: Create release
0 commit comments