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

chore: config/version: bump release version to v0.5.0 #391

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
5 changes: 1 addition & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,10 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0
- uses: anchore/sbom-action/download-syft@719133684c7d294116626d1344fe64f0d2ff3e9e # v0.15.2
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
with:
# TODO(brumhard): set back to latest after issue is fixed
# https://github.com/goreleaser/goreleaser/issues/3573
version: v1.10.3
version: v2.1.0
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 9 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
version: 2

project_name: gt

snapshot:
name_template: '{{ .Tag }}-SNAPSHOT'
name_template: "{{ .Tag }}-SNAPSHOT"

before:
hooks:
Expand Down Expand Up @@ -33,24 +35,24 @@ source:
enabled: true

checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"

signs:
- cmd: cosign
env:
- COSIGN_EXPERIMENTAL=1
certificate: '${artifact}.pem'
certificate: "${artifact}.pem"
args:
- sign-blob
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '${artifact}'
- "--output-certificate=${certificate}"
- "--output-signature=${signature}"
- "${artifact}"
artifacts: checksum
output: true

archives:
- format: tar.gz
name_template: '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}'
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
2 changes: 1 addition & 1 deletion config/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.3
0.5.0
Loading