Subversion-Projekte lars-tiefland.webanos.zeldi.de

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
4 lars 1
# TODO: make grunt release task
2
# set -x
3
 
4
VERSION=$1
5
VVERSION=v$VERSION
6
ZIP=shariff-$VERSION.zip
7
 
8
SVERSION=$VERSION perl -pi -E 's{^(\s+"version":\s*)"[\d.]+"}{${1}"$ENV{SVERSION}"}' package.json bower.json
9
grunt build
10
git add bower.json package.json build
11
git commit -m "release $VVERSION"
12
git push
13
# git tag $VVERSION
14
7z a -tzip $ZIP ./build/*
15
# rm -fr build
16
# https://github.com/aktau/github-release
17
github-release release -u heiseonline -r shariff -t $VVERSION -n $VERSION
18
github-release upload -u heiseonline -r shariff -t $VVERSION -n $ZIP -f $ZIP
19
git push
20
git push --tags
21
rm $ZIP
22
npm publish