forked from cory/tildefriends
Show a version number in the UI. Automate things so that the version number originates from the Makefile. Get ready for 0.0.8.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4330 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
VERSION=$1
|
||||
NICKNAME=$2
|
||||
rm -rfv tildefriends-$VERSION
|
||||
svn export . tildefriends-$VERSION
|
||||
echo "tildefriends-$VERSION: $NICKNAME" > tildefriends-$VERSION/VERSION
|
||||
VERSION_NUMBER=`sed -n -e 's/^VERSION_NUMBER := //p' Makefile`
|
||||
VERSION_NAME=`sed -n -e 's/^VERSION_NAME := //p' Makefile`
|
||||
rm -rfv tildefriends-$VERSION_NUMBER
|
||||
svn export . tildefriends-$VERSION_NUMBER
|
||||
echo "tildefriends-$VERSION_NUMBER: $VERSION_NAME" > tildefriends-$VERSION_NUMBER/VERSION
|
||||
tar \
|
||||
--exclude=deps/libbacktrace/Isaac.Newton-Opticks.txt \
|
||||
--exclude=deps/libsodium/builds \
|
||||
@ -17,5 +17,5 @@ tar \
|
||||
--exclude=deps/sqlite/shell.c \
|
||||
--exclude=deps/zlib/contrib/vstudio \
|
||||
--exclude=deps/zlib/doc \
|
||||
-caf tildefriends-$VERSION.tar.xz tildefriends-$VERSION
|
||||
rm -rfv tildefriends-$VERSION
|
||||
-caf tildefriends-$VERSION_NUMBER.tar.xz tildefriends-$VERSION_NUMBER
|
||||
rm -rfv tildefriends-$VERSION_NUMBER
|
||||
|
Reference in New Issue
Block a user