Skip to content

Commit 1740bbd

Browse files
⬆️ CI/CD: Updated
1 parent 802b183 commit 1740bbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/candidate-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
- name: Create tag
2222
run: |
2323
echo OUTPUT="$(git ls-remote --tags origin | grep ${TAG##*/})" >> $GITHUB_ENV
24-
echo "${OUTPUT:0-1}"
2524
2625
if [[ -n "$OUTPUT" ]]; then
27-
echo "${TAG##*/}-rc-`expr "${OUTPUT:0-1}" + 1`"
26+
git tag "${TAG##*/}-rc-`expr "${OUTPUT:0-1}" + 1`"
2827
else
29-
echo "${TAG##*/}-rc-1"
28+
git tag "${TAG##*/}-rc-1"
3029
fi
30+
git push origin --tags
3131
shell: bash
3232

3333
# - name: Create release

0 commit comments

Comments
 (0)