release.sh 322 B

1234567891011121314151617
  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 $(cat VERSION)"
  8. # Cleanup dist directory to put the new archives
  9. rm -r dist/*
  10. # Binary archives
  11. ./0install.sh
  12. # Source code
  13. ./pkg.sh