File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -192,22 +192,6 @@ jobs:
192192 echo "$ASSETS" >> $GITHUB_ENV
193193 echo "EOF" >> $GITHUB_ENV
194194
195- - name : Create tag via API
196- env :
197- GH_TOKEN : ${{ secrets.PAT_TOKEN }}
198- run : |
199- # Get the current commit SHA
200- COMMIT_SHA=$(git rev-parse HEAD)
201-
202- # Create tag via GitHub API (bypasses push restrictions)
203- gh api \
204- --method POST \
205- -H "Accept: application/vnd.github+json" \
206- -H "X-GitHub-Api-Version: 2022-11-28" \
207- /repos/${{ github.repository }}/git/refs \
208- -f "ref=refs/tags/v${{ env.VERSION }}" \
209- -f "sha=${COMMIT_SHA}" || echo "Tag may already exist"
210-
211195 - name : Create GitHub Release and Upload Assets
212196 uses : softprops/action-gh-release@v2
213197 with :
You can’t perform that action at this time.
0 commit comments