diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4dd7f61c..e34ef3a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,4 @@ jobs: version: "~> v2" args: release --clean env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution - # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8f21fa0c..20d45d87 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -45,8 +45,6 @@ builds: - CGO_ENABLED=0 ldflags: - -s -w -X 'main.appVersion={{.Version}}' -X 'main.commitHash={{.Commit}}' - - id: "backup-go" - skip: true archives: - id: "asbackup" @@ -61,6 +59,8 @@ archives: format_overrides: - goos: windows format: zip + files: + - LICENSE builds: - "asbackup" - id: "asrestore" @@ -75,6 +75,8 @@ archives: format_overrides: - goos: windows format: zip + files: + - LICENSE builds: - "asrestore"