Skip to content

Commit

Permalink
release workflow: goreleaser --rm-dist deprecated in favor of --clean. (
Browse files Browse the repository at this point in the history
#1471)

* release workflow: goreleaser --rm-dist deprecated in favor of --clean.

* Delete used scripts/release_travis.sh
  • Loading branch information
andrewsomething authored Dec 8, 2023
1 parent 49fccfc commit 54f4309
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ fi
echo "generating changelog"
release_notes="$(make _changelog)"

goreleaser --rm-dist --release-notes="${release_notes}"
goreleaser --clean --release-notes="${release_notes}"

rm -f "$release_notes"
19 changes: 0 additions & 19 deletions scripts/release_travis.sh

This file was deleted.

0 comments on commit 54f4309

Please sign in to comment.