Skip to content

Commit 575a16e

Browse files
⬆️ CI/CD: Updated
1 parent bbc5747 commit 575a16e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/candidate-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ jobs:
2424
run: |
2525
echo ${TAG}
2626
echo ${TAG##*/}
27+
2728
OUTPUT="$(git ls-remote --tags origin | grep ${TAG##*/})"
2829
echo "${OUTPUT:0-1}"
29-
if [[ -n "$OUTPUT" ]]
30-
then
30+
31+
if [[ -n "$OUTPUT" ]]; then
3132
echo "${TAG}-rc-`expr "${OUTPUT:0-1}" + 1`"
3233
else
3334
echo "${TAG}-rc-1"

0 commit comments

Comments
 (0)