Skip to content

Commit

Permalink
Merge branch 'main' into update-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaya-sys authored Jul 10, 2024
2 parents 5aa3a49 + d005061 commit faa650e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ jobs:
run: go test ./... -cover -race
-
name: Build binary
run: go build -o score-k8s ./
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: '~> v2'
args: build --snapshot
-
name: Install license check tool
run: go install github.com/google/addlicense@latest
Expand Down Expand Up @@ -58,11 +62,11 @@ jobs:
go-version-file: 'go.mod'
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --rm-dist
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Check the documentation at https://goreleaser.com
version: 2
before:
hooks:
- go mod tidy
Expand Down Expand Up @@ -33,7 +34,7 @@ changelog:
brews:
- name: score-k8s
homepage: "https://score.dev"
tap:
repository:
owner: score-spec
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
Expand Down

0 comments on commit faa650e

Please sign in to comment.