Skip to content

Commit e4e401d

Browse files
⬆️ CI/CD: Updated
1 parent 2c91de6 commit e4e401d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-library-rc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323

2424
- name: 📑 Create tag
2525
run: |
26-
echo OUTPUT="$(git ls-remote --tags origin | grep ${TAG##*/})" >> $GITHUB_ENV
26+
echo VARIAVEL_ABC="$(git ls-remote --tags origin | grep ${TAG##*/})" >> $GITHUB_ENV
2727
28-
if [[ -n "$OUTPUT" ]]; then
29-
echo NEW_TAG="${TAG##*/}-rc-`expr "${OUTPUT:0-1}" + 1`" >> $GITHUB_ENV
28+
if [[ -n "$VARIAVEL_ABC" ]]; then
29+
echo NEW_TAG="${TAG##*/}-rc-`expr "${VARIAVEL_ABC:0-1}" + 1`" >> $GITHUB_ENV
3030
else
3131
echo NEW_TAG="${TAG##*/}-rc-1" >> $GITHUB_ENV
3232
fi
@@ -35,7 +35,7 @@ jobs:
3535
git push origin --tags
3636
3737
echo tag $TAG
38-
echo output $OUTPUT
38+
echo output $VARIAVEL_ABC
3939
echo new_tag $NEW_TAG
4040
shell: bash
4141

0 commit comments

Comments
 (0)