From 7ff9b0af3eca017697fc581045469f0b39424b86 Mon Sep 17 00:00:00 2001 From: Caio Ricciuti Date: Sat, 25 May 2024 20:31:44 +0200 Subject: [PATCH] change to git hub token --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7371546..0c556c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: set -e # Fail on first error # Extract the latest tag, or default to v1.0.0 if no tags exist - latest_tag=$(git describe --tags --abbrev=0 2>/dev/null || echo "v1.0.0") + latest_tag=$(git describe --tags --abbrev=0 2>/dev/null || echo "v1.0.1") echo "Latest tag: $latest_tag" echo "latest_tag=$latest_tag" >> $GITHUB_ENV @@ -61,17 +61,17 @@ jobs: - name: Create new tag env: - GITHUB_TOKEN: ${{ secrets.GHCR_PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | set -e # Fail on first error git tag "${{ env.new_tag }}" - git push https://x-access-token:${{ secrets.GHCR_PAT }}@github.com/${{ github.repository }} "${{ env.new_tag }}" + git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} "${{ env.new_tag }}" - name: Create GitHub release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GHCR_PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ env.new_tag }} release_name: ${{ env.new_tag }}