Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,18 @@ jobs:
cache: false

- name: install autotag binary
# To bump: update AUTOTAG_VERSION and fetch the new SHA from the release's
# checksums.txt (autotag_<version>_checksums.txt, line matching 'autotag_linux_amd64$').
env:
AUTOTAG_VERSION: 1.4.3
AUTOTAG_SHA256: 85e7ec97d732800bb838085fd3f2e19b2aa2ee3a8da0db7fd0aaf4113a279f3a
run: |
curl -sL https://git.io/autotag-install | sh -s -- -b "${RUNNER_TEMP}/bin"
set -euo pipefail
mkdir -p "${RUNNER_TEMP}/bin"
curl -fsSLo "${RUNNER_TEMP}/bin/autotag" \
"https://github.com/autotag-dev/autotag/releases/download/v${AUTOTAG_VERSION}/autotag_linux_amd64"
echo "${AUTOTAG_SHA256} ${RUNNER_TEMP}/bin/autotag" | sha256sum -c -
chmod +x "${RUNNER_TEMP}/bin/autotag"
echo "${RUNNER_TEMP}/bin" >> $GITHUB_PATH

- name: Install GoReleaser
Expand Down
Loading