Skip to content
Snippets Groups Projects
Unverified Commit fefa08d1 authored by meskio's avatar meskio :tent:
Browse files

[pkg] build snap in the CI from the current code

- Resolves: #75
parent 44a63863
Branches
Tags
No related merge requests found
...@@ -60,11 +60,15 @@ snap: ...@@ -60,11 +60,15 @@ snap:
- ln -s "$(pwd)" ${APP_PATH} - ln -s "$(pwd)" ${APP_PATH}
- cd ${APP_PATH} - cd ${APP_PATH}
- git clone https://0xacab.org/leap/riseup_vpn - git clone https://0xacab.org/leap/riseup_vpn /riseup_vpn
- cd riseup_vpn - cd /riseup_vpn
- sed -i 's/https:\/\/0xacab.org\/leap\/bitmask-systray.git$/\/go\/src\/0xacab.org\/leap\/bitmask-systray/' snap/snapcraft.yaml
- sed -i 's/.\/bin\/bitmask-systray.git$/.\/bin\/bitmask-systray/' snap/snapcraft.yaml
- sed -i 's/git clone.*$//' snap/version.sh
- sed -i 's/git -C bitmask-systray/git -C \/go\/src\/0xacab.org\/leap\/bitmask-systray/' snap/version.sh
- snapcraft build - snapcraft build
- snapcraft snap - snapcraft snap
- mv riseup-vpn*.snap .. - mv riseup-vpn*.snap /go/src/0xacab.org/leap/bitmask-systray/
tags: tags:
- linux - linux
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment