mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Added script to build snap locally and push to snapcraft.io candidate and edge.
Thanks to xet7 !
This commit is contained in:
parent
c5fefc1414
commit
072ced9d0e
1 changed files with 18 additions and 0 deletions
18
releases/snap-build-push-edge-candidate.sh
Executable file
18
releases/snap-build-push-edge-candidate.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ $# -ne 1 ]
|
||||
then
|
||||
echo "Use: snapcraft login"
|
||||
echo "Then use version number:"
|
||||
echo " ./releases/snap-build-push-edge-candidate.sh 7.88"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sudo apt -y install snapd
|
||||
sudo systemctl enable snapd
|
||||
sudo systemctl start snapd
|
||||
sudo snap install snapcraft --classic
|
||||
sudo snap install multipass
|
||||
multipass launch --name ubu
|
||||
snapcraft
|
||||
snapcraft upload --release=candidate,edge wekan_$1_amd64.snap
|
Loading…
Add table
Add a link
Reference in a new issue