From afc27b58f1d6b645d341133fc672caee5139db8d Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 5 Aug 2019 14:02:37 +0100 Subject: [PATCH] build: fix version number --- build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build b/build index bfec515..992e7a6 100755 --- a/build +++ b/build @@ -75,8 +75,10 @@ task_build() { task_package() { task_begin "Packaging as .deb"; execute cp -ral PolyFeed/bin/Release PolyFeed/bin/polyfeed; - version="$(awk '/version = / { print($3) }' PolyFeed.sln | tr -d '\n\r')-$(date +"%Y-%m-%dT%H:%M")+$(git rev-parse HEAD | head -c7)"; - fpm -s dir -t deb -n polyfeed -v "${version}" --license MPL-2.0 \ + version="$(awk '/version = / { print($3) }' PolyFeed.sln | tr -d '\n\r')-$(date +"%Y%m%dT%H%M").$(git rev-parse HEAD | head -c7)"; + fpm -s dir -t deb -n polyfeed \ + --epoch 0 -v "${version}" \ + --license MPL-2.0 \ --architecture all --maintainer "Starbeamrainbowlabs " \ --description "Create Atom feeds for websites that don't support it" \ --url "https://github.com/sbrl/PolyFeed" \