forked from kubiko/wekan-snap
-
Notifications
You must be signed in to change notification settings - Fork 11
Making releases from source
Lauri Ojansivu edited this page Sep 24, 2018
·
1 revision
This is old and already fixed, was only needed when snap build servers were broken and snapcraft had bug that has fix that was not released to snap channel yet. All this is fixed now.
So I removed snap version, and installed snapcraft from source, and it seems to work for me.
Add to /root/.bashrc:
export PATH="$PATH:/home/user/repos/snapcraft/bin"
sudo apt install python3-yaml python3-tabulate python3-pymacaroons \
python3-progressbar python3-requests-unixsocket python3-petname \
python3-pyelftools python3-click python3-simplejson \
python3-requests-toolbelt python3-jsonschema xdelta3
cd ~/repos
git clone https://github.com/snapcore/snapcraft.git
cd snapcraft
sudo python3 setup.py install
sudo ln -s /usr/local/lib/python3.5/dist-packages/snapcraft-2.43-py3.5.egg/share/snapcraft/ /usr/share/snapcraft
cd ~/repos/wekan
sudo snapcraft
sudo snap install --dangerous wekan_1.*_amd64.snap
https://github.com/wekan/wekan-snap/wiki/Snap-Developer-Docs
If you have access to publishing snaps.
sudo snapcraft push wekan_1.*_amd64.snap