Add scripts to make archive and tag

This commit is contained in:
Frederic Guillot 2013-07-22 18:07:58 -04:00
parent 6886d83cd5
commit f004aa3ab0
2 changed files with 19 additions and 0 deletions

13
make-archive.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
VERSION=$1
cd /tmp
rm -rf /tmp/miniflux /tmp/miniflux-*.zip 2>/dev/null
git clone git@github.com:fguillot/miniflux.git
rm -rf miniflux/data/*.sqlite miniflux/.git miniflux/.gitignore miniflux/*.sh miniflux/examples
sed -i.bak s/master/$VERSION/g miniflux/common.php && rm -f miniflux/*.bak
zip -r miniflux-$VERSION.zip miniflux
mv miniflux-*.zip ~/Devel/websites/miniflux
rm -rf /tmp/miniflux 2>/dev/null

6
make-tag.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
VERSION=$1
git tag -a v$VERSION -m "Version $VERSION"
git push origin v$VERSION