mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Rename darwin -> macos in uploaded build file
This commit is contained in:
parent
0e09539b61
commit
f01b075d3e
|
@ -19,9 +19,15 @@ set -o xtrace # Don't start tracing until *after* we write the ssh key
|
||||||
|
|
||||||
chmod 600 ssh_key
|
chmod 600 ssh_key
|
||||||
|
|
||||||
os="${UPLOAD_OS:-$DRONE_STAGE_OS-$DRONE_STAGE_ARCH}"
|
os="$UPLOAD_OS"
|
||||||
if [ -n "$WINDOWS_BUILD_NAME" ]; then
|
if [ -z "$os" ]; then
|
||||||
os="windows-$WINDOWS_BUILD_NAME"
|
if [ "$DRONE_STAGE_OS" == "darwin" ]; then
|
||||||
|
os="macos-$DRONE_STAGE_ARCH"
|
||||||
|
elif [ -n "$WINDOWS_BUILD_NAME" ]; then
|
||||||
|
os="windows-$WINDOWS_BUILD_NAME"
|
||||||
|
else
|
||||||
|
os="$DRONE_STAGE_OS-$DRONE_STAGE_ARCH"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$DRONE_TAG" ]; then
|
if [ -n "$DRONE_TAG" ]; then
|
||||||
|
|
Loading…
Reference in a new issue