release.sh 404 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. # Script to realise easily new version
  3. # Set version
  4. ./version_set.sh $1
  5. # Record changes
  6. git commit -a -m "Version $(cat ./VERSION)"
  7. git tag -s v$(cat VERSION) -m "Release version $(cat VERSION)"
  8. # Cleanup dist directory to put the new archives, if exists
  9. if [ -d dist ]; then
  10. rm -r dist/*
  11. fi
  12. # Binary archives
  13. ./0install.sh
  14. # Source code
  15. ./pkg.sh
  16. # Signing everything
  17. ./sign-dist.sh