Skip to content

Commit 7ff9b0a

Browse files
committed
change to git hub token
1 parent 66f01ff commit 7ff9b0a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
set -e # Fail on first error
2525
2626
# Extract the latest tag, or default to v1.0.0 if no tags exist
27-
latest_tag=$(git describe --tags --abbrev=0 2>/dev/null || echo "v1.0.0")
27+
latest_tag=$(git describe --tags --abbrev=0 2>/dev/null || echo "v1.0.1")
2828
echo "Latest tag: $latest_tag"
2929
echo "latest_tag=$latest_tag" >> $GITHUB_ENV
3030
@@ -61,17 +61,17 @@ jobs:
6161
6262
- name: Create new tag
6363
env:
64-
GITHUB_TOKEN: ${{ secrets.GHCR_PAT }}
64+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6565
run: |
6666
set -e # Fail on first error
6767
6868
git tag "${{ env.new_tag }}"
69-
git push https://x-access-token:${{ secrets.GHCR_PAT }}@github.com/${{ github.repository }} "${{ env.new_tag }}"
69+
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} "${{ env.new_tag }}"
7070
7171
- name: Create GitHub release
7272
uses: actions/create-release@v1
7373
env:
74-
GITHUB_TOKEN: ${{ secrets.GHCR_PAT }}
74+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7575
with:
7676
tag_name: ${{ env.new_tag }}
7777
release_name: ${{ env.new_tag }}

0 commit comments

Comments
 (0)