Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .goreleaser.yml #597

Merged
merged 2 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading