mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
update pass version to install script
This commit is contained in:
parent
356ac18ff2
commit
9ca3af3f2c
2 changed files with 4 additions and 3 deletions
|
@ -21,8 +21,8 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=slpkg
|
||||
VERSION=${VERSION:-$(python -c "from slpkg.__metadata__ import MetaData; \
|
||||
print MetaData.__version__")}
|
||||
VERSION=${VERSION:-$(cat slpkg/__metadata__.py | grep "__version_info__ = (" \
|
||||
| cut -c25-31 | tr -d [[:space:]] | tr , .)}
|
||||
TAG=${TAG:-_dsw}
|
||||
|
||||
# Installation script.
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=slpkg
|
||||
VERSION=${VERSION:-2.2.3}
|
||||
VERSION=${VERSION:-$(cat ../slpkg/__metadata__.py | grep "__version_info__ = (" \
|
||||
| cut -c25-31 | tr -d [[:space:]] | tr , .)}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_dsw}
|
||||
|
||||
|
|
Loading…
Reference in a new issue