summaryrefslogtreecommitdiffstats
path: root/releases/release-snap.sh
blob: 12d8424f8fdbe3ca844ddc98c8a6aac40b1bb8e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Usage: ./release.sh 1.36

# Cleanup
cd ~/repos/wekan/releases
./release-cleanup.sh

# Build Source
cd ~/repos/wekan
./releases/rebuild-release.sh

# Build Snap
cd ~/repos/wekan
sudo snapcraft

# Cleanup
cd ~/repos/wekan
./releases/release-cleanup.sh

# Push snap
cd ~/repos/wekan
sudo snap install --dangerous wekan_$1_amd64.snap
echo "Now you can test local installed snap."
snapcraft push wekan_$1_amd64.snap
scp wekan_$1_amd64.snap x2:/var/www/releases.wekan.team/
mv wekan_$1_amd64.snap ..