From 4f278d1b50717cc4be1a5ef19dae455b7626744e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Cerqueira?= Date: Thu, 21 Oct 2021 16:51:24 +0100 Subject: [PATCH] ci(release): use the new basic auth feature --- .github/workflows/release.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2681b73..1bee534 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,15 +33,9 @@ jobs: run: | git config --global user.name "${{ secrets.CB_RELEASE_BOT_NAME }}" git config --global user.email "${{ secrets.CB_RELEASE_BOT_EMAIL }}" - # git config --local --replace-all url.https://github.com/.insteadOf ssh://git@github.com/ - # git config --local --add url.https://git:${{ steps.release-bot.outputs.token }}@github.com/.insteadOf git@github.com: - # debugging purposes - cat .git/config - name: Bump Version - run: git semver bump - env: - GITHUB_TOKEN: ${{ steps.release-bot.outputs.token }} + run: git semver bump -u ${{ secrets.CB_RELEASE_BOT_NAME }} -P ${{ steps.release-bot.outputs.token }} - name: GoReleaser uses: goreleaser/goreleaser-action@v2