Commit 0543abb6 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Use full version in debian package

parent 2ba2760f
Pipeline #70405 passed with stages
in 5 minutes and 59 seconds
#!/bin/sh
VERSION=$(cat public/.version)
VERSION_SHORT=$(echo "$VERSION" | sed -E 's/([0-9]*)\.([0-9]*).*/\1.\2/g')
VERSION_SHORT=$(echo "$VERSION" | cut -d '-' -f 1)
apt-get update
apt-get upgrade -y
......
#!/bin/sh
VERSION=$(cat public/.version)
apt-get update
apt-get upgrade -y
cd public/debian || exit 1
......
......@@ -18,6 +18,7 @@
EXTRA_DIST += \
%reldir%/changelog \
%reldir%/changelog.in \
%reldir%/compat \
%reldir%/control \
%reldir%/copyright \
......@@ -38,3 +39,8 @@ EXTRA_DIST += \
%reldir%/tarot.doc-base.EX \
%reldir%/tarot-docs.docs \
%reldir%/watch.ex
%reldir%/changelog: %reldir%/changelog.in .version
$(AM_V_GEN) sed "s/VERSION/$$(echo $(VERSION) | cut -d - -f 1)/g" \
%reldir%/changelog.in \
> %reldir%/changelog
tarot (0.0-1) unstable; urgency=medium
tarot (VERSION-1) unstable; urgency=medium
* Initial release
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment