Skip to content

Commit

Permalink
merge publish and release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tamada committed Nov 19, 2023
1 parent 46e2cd4 commit 83d4a2d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 29 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,10 @@ jobs:
run: |
git tag -a v${{ steps.vars.outputs.tag }} -m "Release ${{ steps.vars.outputs.tag }}"
git push $REPO v${{ steps.vars.outputs.tag }}
- uses: goreleaser/goreleaser-action@v4
with:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # 自動で生成されるシークレット
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
28 changes: 0 additions & 28 deletions .github/workflows/release.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ brews:
repository:
owner: tamada
name: homebrew-tap
token: "${{ .Env.TAP_GITHUB_TOKEN }}"
token: "{{ .Env.TAP_GITHUB_TOKEN }}"

0 comments on commit 83d4a2d

Please sign in to comment.