mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-05-16 08:19:46 +00:00
Use consistent env vars for tagged release and version identification
This commit is contained in:
parent
0edf6cc6e5
commit
4d946601c0
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -243,8 +243,8 @@ jobs:
|
||||
|
||||
# Tagged releases
|
||||
if [[ "${{ env.TAGGED_RELEASE }}" == "true" ]]; then
|
||||
aws s3 cp --recursive "${folder}" s3://${{ env.s3_bucket }}/releases/${branch} --endpoint-url ${{ env.s3_endpoint }}
|
||||
echo "${branch}" > "${folder}"/latest
|
||||
aws s3 cp --recursive "${folder}" s3://${{ env.s3_bucket }}/releases/${{ env.VERSION }} --endpoint-url ${{ env.s3_endpoint }}
|
||||
echo "${{ env.VERSION }}" > "${folder}"/latest
|
||||
aws s3 cp "${folder}"/latest s3://${{ env.s3_bucket }}/releases/latest --endpoint-url ${{ env.s3_endpoint }}
|
||||
rm -f "${folder}"/latest
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user