File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,19 @@ jobs:
2121 with :
2222 repo-token : ${{ secrets.GITHUB_TOKEN }}
2323
24- # - name: 📑 Create tag
25- # run: |
26- # echo OUTPUT="$(git ls-remote --tags origin | grep ${TAG##*/})" >> $GITHUB_ENV
24+ - name : 📑 Create tag
25+ run : |
26+ echo OUTPUT="$(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
30- # else
31- # echo NEW_TAG="${TAG##*/}-rc-1" >> $GITHUB_ENV
32- # fi
28+ if [[ -n "$OUTPUT" ]]; then
29+ echo NEW_TAG="${TAG##*/}-rc-`expr "${OUTPUT:0-1}" + 1`" >> $GITHUB_ENV
30+ else
31+ echo NEW_TAG="${TAG##*/}-rc-1" >> $GITHUB_ENV
32+ fi
3333
34- # git tag $NEW_TAG
35- # git push origin --tags
36- # shell: bash
34+ git tag $NEW_TAG
35+ git push origin --tags
36+ shell : bash
3737
3838 - name : ⚙️ Set up Python 3.11
3939 uses : actions/setup-python@v3
You can’t perform that action at this time.
0 commit comments