Fix fpm call

This commit is contained in:
Starbeamrainbowlabs 2019-08-05 13:05:51 +01:00
parent a1c3633890
commit d4f351131d
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 2 deletions

4
build
View File

@ -73,8 +73,8 @@ task_build() {
task_package() {
task_begin "Packaging as .deb";
version="$(awk '/version = / { print $3 }' PolyFeed.sln)-$(date +"%Y-%m-%dT%H:%M")+$(git rev-parse HEAD | head -c7)";
execute 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 -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" \