Skip to content

Commit 06115b9

Browse files
authored
Merge pull request #6188 from oasisprotocol/kostko/feature/goreleaser-2.9.0
ci: Bump goreleaser to 2.9.0
2 parents 5124966 + 41b5bd4 commit 06115b9

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.changelog/6188.trivial.md

Whitespace-only changes.

.github/workflows/release-dev.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
env:
1414
CURL_CMD: curl --proto =https --tlsv1.2 --location --silent --show-error --fail
1515
GORELEASER_URL_PREFIX: https://github.com/goreleaser/goreleaser/releases/download/
16-
GORELEASER_VERSION: 0.152.0
16+
GORELEASER_VERSION: 2.9.0
1717
JEMALLOC_URL_PREFIX: https://github.com/jemalloc/jemalloc/releases/download/
1818
JEMALLOC_VERSION: 5.2.1
1919
JEMALLOC_CHECKSUM: 34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6
@@ -64,7 +64,7 @@ jobs:
6464
cd $(mktemp --directory /tmp/goreleaser.XXXXX)
6565
${CURL_CMD} ${GORELEASER_URL_PREFIX}/v${GORELEASER_VERSION}/${GORELEASER_TARBALL} \
6666
--output ${GORELEASER_TARBALL}
67-
${CURL_CMD} ${GORELEASER_URL_PREFIX}/v${GORELEASER_VERSION}/goreleaser_checksums.txt \
67+
${CURL_CMD} ${GORELEASER_URL_PREFIX}/v${GORELEASER_VERSION}/checksums.txt \
6868
--output CHECKSUMS
6969
sha256sum --check --ignore-missing CHECKSUMS
7070
tar -xf ${GORELEASER_TARBALL}

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
env:
1616
CURL_CMD: curl --proto =https --tlsv1.2 --location --silent --show-error --fail
1717
GORELEASER_URL_PREFIX: https://github.com/goreleaser/goreleaser/releases/download/
18-
GORELEASER_VERSION: 0.152.0
18+
GORELEASER_VERSION: 2.9.0
1919
JEMALLOC_URL_PREFIX: https://github.com/jemalloc/jemalloc/releases/download/
2020
JEMALLOC_VERSION: 5.2.1
2121
JEMALLOC_CHECKSUM: 34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6
@@ -71,7 +71,7 @@ jobs:
7171
cd $(mktemp --directory /tmp/goreleaser.XXXXX)
7272
${CURL_CMD} ${GORELEASER_URL_PREFIX}/v${GORELEASER_VERSION}/${GORELEASER_TARBALL} \
7373
--output ${GORELEASER_TARBALL}
74-
${CURL_CMD} ${GORELEASER_URL_PREFIX}/v${GORELEASER_VERSION}/goreleaser_checksums.txt \
74+
${CURL_CMD} ${GORELEASER_URL_PREFIX}/v${GORELEASER_VERSION}/checksums.txt \
7575
--output CHECKSUMS
7676
sha256sum --check --ignore-missing CHECKSUMS
7777
tar -xf ${GORELEASER_TARBALL}

.goreleaser.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# NOTE: The GoReleaser is not meant to be run directly, but rather through
66
# Make's release-build target.
77

8+
version: 2
89
project_name: Oasis Core
910

1011
env:
@@ -85,7 +86,7 @@ checksum:
8586
algorithm: sha256
8687

8788
snapshot:
88-
name_template: "{{.Version}}-dev"
89+
version_template: "{{.Version}}-dev"
8990

9091
release:
9192
name_template: "{{.ProjectName}} {{.Version}}"

common.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ the [Change Log] for **Removals and Breaking changes**.*
333333
endef
334334

335335
# Instruct GoReleaser to create a "snapshot" release by default.
336-
GORELEASER_ARGS ?= release --snapshot --rm-dist
336+
GORELEASER_ARGS ?= release --snapshot --clean
337337
# If the appropriate environment variable is set, create a real release.
338338
ifeq ($(OASIS_CORE_REAL_RELEASE), true)
339339
# Create temporary file with GitHub release's text.

0 commit comments

Comments
 (0)