Skip to content

Commit

Permalink
Merge pull request #163 from replicatedhq/gerard/goreleaser-update
Browse files Browse the repository at this point in the history
update gorelease deprecated arg --rm-dist
  • Loading branch information
nvanthao authored Jul 11, 2024
2 parents 6fca68c + 7cfd4eb commit 0d9fb33
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ name: deploy
on:
push:
tags:
- "v*.*.*"
- "v*.*.*"

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Unshallow
run: git fetch --prune --unshallow
- name: Unshallow
run: git fetch --prune --unshallow

- uses: actions/setup-go@v5
with:
go-version: "1.21"
- uses: actions/setup-go@v5
with:
go-version: "1.21"

- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: latest
args: release --rm-dist --config deploy/.goreleaser.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: latest
args: release --clean --config deploy/.goreleaser.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0d9fb33

Please sign in to comment.