mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30: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 purge
|
||||
multipass launch --name ubu
|
||||
snapcraft
|
||||
snapcraft pack
|
||||
exit;
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
echo "macOS"
|
||||
|
|
@ -26,12 +26,10 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then
|
|||
multipass launch --name ubu
|
||||
fi
|
||||
# Build with platform specified for macOS
|
||||
snapcraft --use-lxd --platform=amd64 --build-for=amd64
|
||||
snapcraft pack --use-lxd --platform=amd64 --build-for=amd64
|
||||
exit;
|
||||
else
|
||||
echo "Unknown OS: $OSTYPE"
|
||||
echo "Please install snapcraft and multipass manually."
|
||||
exit;
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue