Skip to content

Commit

Permalink
fix: removing goreleaser project env var to be able to test locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Nepo26 committed Sep 10, 2023
1 parent 3f2182a commit d0e53ef
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
uses: goreleaser/goreleaser-action@v4
with:
args: release --snapshot --skip-sign
env:
PROJECT_ROOT: ${{ github.workspace }}
- if: always()
run: rm -f ${HOME}/.docker/config.json

1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.NORWOODJ_ORG_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
PROJECT_ROOT: ${{ env.GITHUB_WORKSPACE }}
- if: always()
run: rm -f ${HOME}/.docker/config.json
4 changes: 1 addition & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
project_name: helm-docs
env:
- PROJECT_ROOT={{ .Env.PROJECT_ROOT }}
before:
hooks:
- go mod download
Expand Down Expand Up @@ -43,7 +41,7 @@ changelog:

signs:
- artifacts: checksum
args: ["-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
args: [ '{{ if index .Env "GPG_FINGERPRINT" }}-u {{ .Env.GPG_FINGERPRINT }}{{ else }}-s{{ end }}', "--output", "${signature}","--detach-sign", "${artifact}"]

nfpms:
- vendor: helm-docs
Expand Down

0 comments on commit d0e53ef

Please sign in to comment.