release-ondra-2.sh 477 B

1234567891011121314151617181920
  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 tag --force v$1 HEAD
  15. git push --tags --force
  16. git push --follow-tags