File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 cache : false
6565
6666 - name : install autotag binary
67+ # To bump: update AUTOTAG_VERSION and fetch the new SHA from the release's
68+ # checksums.txt (autotag_<version>_checksums.txt, line matching 'autotag_linux_amd64$').
69+ env :
70+ AUTOTAG_VERSION : 1.4.3
71+ AUTOTAG_SHA256 : 85e7ec97d732800bb838085fd3f2e19b2aa2ee3a8da0db7fd0aaf4113a279f3a
6772 run : |
68- curl -sL https://git.io/autotag-install | sh -s -- -b "${RUNNER_TEMP}/bin"
73+ set -euo pipefail
74+ mkdir -p "${RUNNER_TEMP}/bin"
75+ curl -fsSLo "${RUNNER_TEMP}/bin/autotag" \
76+ "https://github.com/autotag-dev/autotag/releases/download/v${AUTOTAG_VERSION}/autotag_linux_amd64"
77+ echo "${AUTOTAG_SHA256} ${RUNNER_TEMP}/bin/autotag" | sha256sum -c -
78+ chmod +x "${RUNNER_TEMP}/bin/autotag"
6979 echo "${RUNNER_TEMP}/bin" >> $GITHUB_PATH
7080
7181 - name : Install GoReleaser
You can’t perform that action at this time.
0 commit comments