Add scripts to make archive and tag
This commit is contained in:
parent
6886d83cd5
commit
f004aa3ab0
13
make-archive.sh
Executable file
13
make-archive.sh
Executable 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
6
make-tag.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=$1
|
||||||
|
|
||||||
|
git tag -a v$VERSION -m "Version $VERSION"
|
||||||
|
git push origin v$VERSION
|
Loading…
Reference in New Issue
Block a user