mirror of
https://github.com/sbrl/PolyFeed.git
synced 2024-11-13 05:03:02 +00:00
build: fix version number
This commit is contained in:
parent
9ba1c7f162
commit
afc27b58f1
1 changed files with 4 additions and 2 deletions
6
build
6
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 <feedback@starbeamrainbowlabs.com>" \
|
||||
--description "Create Atom feeds for websites that don't support it" \
|
||||
--url "https://github.com/sbrl/PolyFeed" \
|
||||
|
|
Loading…
Reference in a new issue