2021-03-28 19:28:48 +03:00
|
|
|
#!/bin/bash
|
2020-09-15 23:14:05 +03:00
|
|
|
|
2021-03-28 19:28:48 +03:00
|
|
|
# Release script for wekan.
|
|
|
|
|
|
|
|
# 1) Check that there is only one parameter
|
|
|
|
# of Wekan version number:
|
|
|
|
|
|
|
|
if [ $# -ne 1 ]
|
|
|
|
then
|
|
|
|
echo "Syntax with Wekan version number:"
|
|
|
|
echo " ./release.sh 5.10"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
# 2) Commit and push version number changes
|
2020-09-15 23:14:05 +03:00
|
|
|
cd ~/repos/wekan
|
|
|
|
git add --all
|
|
|
|
git commit -m "v$1"
|
|
|
|
git push
|
|
|
|
|
2021-03-28 19:28:48 +03:00
|
|
|
# 3) Add release tag
|
2020-09-15 23:14:05 +03:00
|
|
|
~/repos/wekan/releases/add-tag.sh v$1
|
|
|
|
|
2021-03-28 19:28:48 +03:00
|
|
|
# 4) Push to repo
|
2020-09-15 23:14:05 +03:00
|
|
|
git push
|
2018-11-04 18:32:08 +02:00
|
|
|
|
2021-03-28 19:28:48 +03:00
|
|
|
# 5) Build Bundle
|
2023-08-17 20:20:54 +03:00
|
|
|
#~/repos/wekan/releases/release-bundle.sh $1
|
2019-08-11 23:05:41 +03:00
|
|
|
|
2021-03-28 19:28:48 +03:00
|
|
|
# 6) Build Sandstorm
|
2022-05-18 12:29:28 +03:00
|
|
|
#~/repos/wekan/releases/release-sandstorm.sh $1
|
2018-11-04 18:32:08 +02:00
|
|
|
|
|
|
|
# Build Snap
|
2019-08-11 23:05:41 +03:00
|
|
|
#./release-snap.sh $1
|