aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2018-10-24 15:50:26 -0400
committerB Stack <bgstack15@gmail.com>2018-10-24 15:50:26 -0400
commita9558e3f3511a2e847e084f6cd7bc348b18671a0 (patch)
treef99d8fc99cfea985cd8fda7181d0643a91731cd9
parentrelease 0.0.2 (diff)
downloadlaps-a9558e3f3511a2e847e084f6cd7bc348b18671a0.tar.gz
laps-a9558e3f3511a2e847e084f6cd7bc348b18671a0.tar.bz2
laps-a9558e3f3511a2e847e084f6cd7bc348b18671a0.zip
fix version.txt and the way build script learns version
-rwxr-xr-xbuild-laps.sh2
-rw-r--r--src/usr/share/doc/laps/version.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/build-laps.sh b/build-laps.sh
index a7fee94..e53486c 100755
--- a/build-laps.sh
+++ b/build-laps.sh
@@ -1,7 +1,7 @@
#!/bin/sh
test -z "${PACK_PACKAGE}" && PACK_PACKAGE=laps
-test -z "${PACK_VERSION}" && PACK_VERSION=0.0.1
+test -z "${PACK_VERSION}" && PACK_VERSION="$( cat src/usr/share/doc/laps/version.txt )"
test -z "${PACK_DIR}" && PACK_DIR="$( readlink -f "$( dirname "${0}" )" )"
test -z "${RPMBUILD_SOURCES_DIR}" && RPMBUILD_SOURCES_DIR="/home/${USER}/rpmbuild/SOURCES"
diff --git a/src/usr/share/doc/laps/version.txt b/src/usr/share/doc/laps/version.txt
index 8acdd82..4e379d2 100644
--- a/src/usr/share/doc/laps/version.txt
+++ b/src/usr/share/doc/laps/version.txt
@@ -1 +1 @@
-0.0.1
+0.0.2
bgstack15