release-ondra-2.sh 529 B

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