1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

set windows ci build output to include arch

This commit is contained in:
Jeff Becker 2020-06-18 07:05:48 -04:00
parent 809198636b
commit c323025722
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -21,11 +21,11 @@ chmod 600 ssh_key
if [ -n "$DRONE_TAG" ]; then
# For a tag build use something like `lokinet-linux-amd64-v1.2.3`
base="lokinet-windows-$DRONE_TAG"
base="lokinet-windows-$DRONE_STAGE_ARCH-$DRONE_TAG"
else
# Otherwise build a length name from the datetime and commit hash, such as:
# lokinet-linux-amd64-20200522T212342Z-04d7dcc54
base="lokinet-windows-$(date --date=@$DRONE_BUILD_CREATED +%Y%m%dT%H%M%SZ)-${DRONE_COMMIT:0:9}"
base="lokinet-windows-$DRONE_STAGE_ARCH-$(date --date=@$DRONE_BUILD_CREATED +%Y%m%dT%H%M%SZ)-${DRONE_COMMIT:0:9}"
fi
mkdir -v "$base"