Skip to content

Commit

Permalink
minor bug fixex; QPKG upgraded to support QTS
Browse files Browse the repository at this point in the history
  • Loading branch information
dukesrg committed Oct 21, 2014
1 parent 7f4b234 commit b6ceb87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nextversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
TAG=$(git describe $(git rev-list --all --tags --max-count=1) | awk -F . '{ printf "%d.%d.%d", $1, $2, $3 + 1}')
git tag -a -m "Deployed $(LANG=en_GB.UTF-8; date)." "$TAG"
echo "Setting version number to: $TAG"
sed -i -r "s/^(QPKG_VER=).*/\1\"$TAG\"/" qpkg/qpkg.cfg
sed -i -r "s/^(QPKG_VER=)?.*/\1\"$TAG\"/" qpkg/qpkg.cfg
sed -i -r "s/>.*(<\/footer>)/>$TAG\1/" web/index.html
sed -i -r "s/(.*QPKGVer: ).*/\1'$TAG',/" qpkg/ui/eyefiserver_view.js
git push --tags

0 comments on commit b6ceb87

Please sign in to comment.