1
1
Fork 0
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:
Jason Rhinelander 2022-10-20 12:50:13 -03:00
parent 0e09539b61
commit f01b075d3e
No known key found for this signature in database
GPG key ID: C4992CE7A88D4262

View file

@ -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