Skip to content

Commit

Permalink
Update goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranbt committed Jan 8, 2024
1 parent 90ac13f commit 6687796
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 56 deletions.
8 changes: 8 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,11 @@ dockers:

checksum:
name_template: "checksums.txt"

release:
draft: true
header: |
# 🚀 Features
# 🎄 Enhancements
# 🐞 Notable bug fixes
# 🎠 Community
3 changes: 0 additions & 3 deletions CHANGELOG.md

This file was deleted.

7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,14 @@ fmt-contracts:
cd suave && forge fmt

release:
# Generate the changelog for the release
./suave/scripts/parse-changelog.sh $(TAG) > /tmp/changelog.md

# Build and publish the release
docker run \
--rm \
-e CGO_ENABLED=1 \
-e GITHUB_TOKEN="$(GITHUB_TOKEN)" \
-v /tmp/changelog.md:/build/changelog.md \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $(HOME)/.docker/config.json:/root/.docker/config.json \
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-v `pwd`/sysroot:/sysroot \
-w /go/src/$(PACKAGE_NAME) \
ghcr.io/goreleaser/goreleaser-cross:v1.19.5 \
release --clean --release-notes /build/changelog.md
release --clean
47 changes: 0 additions & 47 deletions suave/scripts/parse-changelog.sh

This file was deleted.

0 comments on commit 6687796

Please sign in to comment.