From a3ddd6cd9640e3ee7dca029710cb9bf74d8649ac Mon Sep 17 00:00:00 2001 From: Filipe Freire Date: Fri, 17 May 2024 16:12:42 +0100 Subject: [PATCH] fix: tag weirdness (#355) * fix: tag weirdness * fix * fix * fix --- .github/workflows/release.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c56dcd0e..5a813b66 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,12 +37,13 @@ jobs: - name: Create new package version run: npm version "${{ env.TAG }}" - - name: Merge version commit into master + - name: DEBUG see tags run: | - remote_repo="https://${GITHUB_ACTOR}:${RELEASE_GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" - git push "${remote_repo}" - env: - RELEASE_GH_TOKEN: ${{ secrets.PAT_INSOMNIA_INFRA }} + git tag --list + git remote -v + + - name: Merge version commit into master + run: git push origin ${{ env.TAG }} - name: Create Tag and Release uses: ncipollo/release-action@v1 @@ -52,6 +53,4 @@ jobs: name: "httpsnippet ${{ env.TAG }} 📦" generateReleaseNotes: true prerelease: false - draft: false - env: - GITHUB_TOKEN: ${{ secrets.PAT_INSOMNIA_INFRA }} + draft: false \ No newline at end of file