Skip to content

Commit da5ffad

Browse files
⬆️ CI/CD: Updated
1 parent 0bc5783 commit da5ffad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/candidate-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ jobs:
2424
run: |
2525
OUTPUT="$(git ls-remote --tags origin | grep ${TAG##*/})"
2626
echo "${OUTPUT:0-1}"
27+
if [[ -n "$OUTPUT" ]]
28+
then
29+
echo "${TAG}-rc-`expr "${OUTPUT:0-1}" + 1`"
30+
else
31+
echo "${TAG}-rc-1"
32+
fi
2733
shell: bash
2834

2935
# - name: Create release

0 commit comments

Comments
 (0)