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:
parent
809198636b
commit
c323025722
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue