Skip to content

Commit

Permalink
Fix GoReleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed May 27, 2020
1 parent ff89d04 commit f2f11a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
- name: Install Go
uses: actions/setup-go@v2
with:
Expand All @@ -22,9 +24,9 @@ jobs:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: Release
uses: goreleaser/goreleaser-action@v1
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ changelog:
exclude:
- '^docs:'
- '^test:'
release:
prerelease: auto
dockers:
-
image_templates:
Expand Down

0 comments on commit f2f11a7

Please sign in to comment.