diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index 77e09fb..b273705 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -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 diff --git a/dist/config.yaml b/dist/config.yaml index 7b4f6c6..32fdb0f 100644 --- a/dist/config.yaml +++ b/dist/config.yaml @@ -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 }}'