summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-01-17 13:24:10 +0100
committerRuben Pollan <meskio@sindominio.net>2019-01-17 13:24:10 +0100
commitd788da5f6914f72abd16b9c51b8f5ad729aba86a (patch)
treef5f5d4f67cf6718720f565f5e4b4d48d1a1f9db8 /.gitlab-ci.yml
parent316df9ea3e94f0b96bff525684726f4077fadeaa (diff)
[test] update the CI to build snaps
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0ed4958..2613cbf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -62,13 +62,12 @@ snap:
script:
- mkdir -p /go/src/0xacab.org/leap/
- ln -s "$(pwd)" ${APP_PATH}
- - cd ${APP_PATH}
- git clone https://0xacab.org/leap/riseup_vpn /riseup_vpn
- cd /riseup_vpn
- - sed -i 's/go-importpath:.*$/source: \/go\/src\/0xacab.org\/leap\/bitmask-systray\/cmd\/bitmask-vpn/' snap/snapcraft.yaml
+ - sed -i "s/source:.*$/source: \/go\/src\/0xacab.org\/leap\/bitmask-vpn/" 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
+ - sed -i "s/git -C bitmask-vpn/git -C \/go\/src\/0xacab.org\/leap\/bitmask-vpn/" snap/version.sh
- snapcraft build
- snapcraft snap
- mv riseup-vpn*.snap /go/src/0xacab.org/leap/bitmask-systray/