mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Updated release scripts of snapcraft pack command syntax.
Thanks to xet7 !
This commit is contained in:
parent
2a24918a9c
commit
d88d197de9
1 changed files with 2 additions and 4 deletions
|
|
@ -15,7 +15,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||||
multipass delete ubu
|
multipass delete ubu
|
||||||
multipass purge
|
multipass purge
|
||||||
multipass launch --name ubu
|
multipass launch --name ubu
|
||||||
snapcraft
|
snapcraft pack
|
||||||
exit;
|
exit;
|
||||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
echo "macOS"
|
echo "macOS"
|
||||||
|
|
@ -26,12 +26,10 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
multipass launch --name ubu
|
multipass launch --name ubu
|
||||||
fi
|
fi
|
||||||
# Build with platform specified for macOS
|
# Build with platform specified for macOS
|
||||||
snapcraft --use-lxd --platform=amd64 --build-for=amd64
|
snapcraft pack --use-lxd --platform=amd64 --build-for=amd64
|
||||||
exit;
|
exit;
|
||||||
else
|
else
|
||||||
echo "Unknown OS: $OSTYPE"
|
echo "Unknown OS: $OSTYPE"
|
||||||
echo "Please install snapcraft and multipass manually."
|
echo "Please install snapcraft and multipass manually."
|
||||||
exit;
|
exit;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue