Skip to content

Commit

Permalink
ci(release): use the new basic auth feature (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrqr authored Oct 21, 2021
1 parent 8ada880 commit ffa9479
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ffa9479

Please sign in to comment.