release.sh 281 B

123456789101112131415
  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. ./0install.sh