Skip to content

Commit 2c91de6

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

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@ jobs:
2222
repo-token: ${{ secrets.GITHUB_TOKEN }}
2323

2424
- name: 📑 Create tag
25-
run: |
26-
git ls-remote --tags origin | grep ${TAG##*/}
25+
run: |
2726
echo OUTPUT="$(git ls-remote --tags origin | grep ${TAG##*/})" >> $GITHUB_ENV
2827
29-
echo output $OUTPUT
30-
3128
if [[ -n "$OUTPUT" ]]; then
3229
echo NEW_TAG="${TAG##*/}-rc-`expr "${OUTPUT:0-1}" + 1`" >> $GITHUB_ENV
3330
else
@@ -38,6 +35,7 @@ jobs:
3835
git push origin --tags
3936
4037
echo tag $TAG
38+
echo output $OUTPUT
4139
echo new_tag $NEW_TAG
4240
shell: bash
4341

0 commit comments

Comments
 (0)