mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
ci: include version in the name of tar.gz artifacts (#1919)
This makes sure the version is included in GitHub artifacts. Fix #1918 Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
This commit is contained in:
parent
605fba0422
commit
7c18081f57
|
@ -3,13 +3,15 @@ set -eu
|
||||||
|
|
||||||
artifacts=()
|
artifacts=()
|
||||||
|
|
||||||
for FILES in \
|
for FILE in \
|
||||||
authelia-linux-amd64.tar.gz authelia-linux-amd64.tar.gz.sha256 \
|
authelia-linux-amd64.tar.gz authelia-linux-amd64.tar.gz.sha256 \
|
||||||
authelia-linux-arm32v7.tar.gz authelia-linux-arm32v7.tar.gz.sha256 \
|
authelia-linux-arm32v7.tar.gz authelia-linux-arm32v7.tar.gz.sha256 \
|
||||||
authelia-linux-arm64v8.tar.gz authelia-linux-arm64v8.tar.gz.sha256 \
|
authelia-linux-arm64v8.tar.gz authelia-linux-arm64v8.tar.gz.sha256 \
|
||||||
authelia-public_html.tar.gz authelia-public_html.tar.gz.sha256;
|
authelia-public_html.tar.gz authelia-public_html.tar.gz.sha256;
|
||||||
do
|
do
|
||||||
artifacts+=(-a "${FILES}")
|
# Add the version to the artifact name
|
||||||
|
mv $FILE ${FILE/authelia-/authelia-${BUILDKITE_TAG}-}
|
||||||
|
artifacts+=(-a "${FILE/authelia-/authelia-${BUILDKITE_TAG}-}")
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "--- :github: Deploy artifacts for release: ${BUILDKITE_TAG}"
|
echo "--- :github: Deploy artifacts for release: ${BUILDKITE_TAG}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user