Skip to content

Commit

Permalink
updage release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy0M committed Oct 19, 2023
1 parent beb7bc3 commit 175e4f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
jobs:
release-test:
runs-on: ubuntu-latest-16-cores
env:
DEBUG: true
steps:
- name: "Check out code"
uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions dist/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ builds:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
env:
- CGO_ENABLED=0
before: # You can use "before" to run a custom build command
- go build -o cvemap -ldflags "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser" .
archives:
- id: default
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}'
Expand Down

0 comments on commit 175e4f2

Please sign in to comment.