wekan/releases/release-ondra-2.sh
2022-02-07 18:36:03 +02:00

22 lines
529 B
Bash
Executable file

#/bin/bash
# Release script for wekan-ondra and wekan-gantt-gpl
# part 2. Before these, part 1 and merge and fix merge conflicts.
# 1) Check that there is only one parameter
# of Wekan version number:
if [ $# -ne 1 ]
then
echo "Syntax with Wekan version number:"
echo " ./release-ondra-2.sh 5.10"
exit 1
fi
# 2) Move Wekan version tag to be newest after merge
# and push to repo.
git add --all
git commit -m "Merge newest changes."
git tag --force v$1 HEAD
git push --tags --force
git push --follow-tags