Skip to content

Commit

Permalink
Merge pull request #597 from k1LoW/update-goreleaser
Browse files Browse the repository at this point in the history
Update .goreleaser.yml
  • Loading branch information
k1LoW authored Jun 20, 2024
2 parents af5d7bb + 83a36e1 commit 22cf3b3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,21 @@ jobs:

- name: Setup
run: |
brew install goreleaser
brew install sqlite3
- name: Install
run: |
go install github.com/k1LoW/tbls@latest
tbls version
- name: Release (dry-run)
run: |
goreleaser release --config .goreleaser/darwin.yml --clean --snapshot --skip-publish
- name: Run GoReleaser (dry-run)
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: --config .goreleaser/darwin.yml --clean --snapshot --skip=publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

linux-release-test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -66,7 +70,7 @@ jobs:
tbls version
- name: Run GoReleaser (dry-run)
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
Expand Down Expand Up @@ -108,7 +112,7 @@ jobs:
tbls version
- name: Run GoReleaser (dry-run)
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tagpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
brew install sqlite3
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
sleep 20s
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
shell: bash

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser/darwin.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- go mod download
Expand Down Expand Up @@ -34,7 +35,6 @@ checksum:
snapshot:
name_template: "{{ .Version }}-next"
changelog:
skip: true
sort: asc
filters:
exclude:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser/linux.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- go mod download
Expand Down Expand Up @@ -42,7 +43,6 @@ checksum:
snapshot:
name_template: "{{ .Version }}-next"
changelog:
skip: true
sort: asc
filters:
exclude:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser/windows.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- go mod download
Expand Down Expand Up @@ -37,7 +38,6 @@ checksum:
snapshot:
name_template: "{{ .Version }}-next"
changelog:
skip: true
sort: asc
filters:
exclude:
Expand Down

0 comments on commit 22cf3b3

Please sign in to comment.