1
0
Fork 0
mirror of https://github.com/sbrl/PolyFeed.git synced 2024-06-17 08:24:56 +00:00

build: add vendor name

This commit is contained in:
Starbeamrainbowlabs 2019-08-06 11:22:18 +01:00
parent afc27b58f1
commit 626cd8b2e1
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 4 additions and 1 deletions

View file

@ -123,6 +123,7 @@ namespace PolyFeed
public static string GetProgramVersion() public static string GetProgramVersion()
{ {
// BUG: This isn't returning 0.1.1 for some reason :-/
Version version = Assembly.GetExecutingAssembly().GetName().Version; Version version = Assembly.GetExecutingAssembly().GetName().Version;
return $"{version.Major}.{version.Minor}"; return $"{version.Major}.{version.Minor}";
} }

4
build
View file

@ -79,7 +79,9 @@ task_package() {
fpm -s dir -t deb -n polyfeed \ fpm -s dir -t deb -n polyfeed \
--epoch 0 -v "${version}" \ --epoch 0 -v "${version}" \
--license MPL-2.0 \ --license MPL-2.0 \
--architecture all --maintainer "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>" \ --architecture all \
--maintainer "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>" \
--vendor "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>" \
--description "Create Atom feeds for websites that don't support it" \ --description "Create Atom feeds for websites that don't support it" \
--url "https://github.com/sbrl/PolyFeed" \ --url "https://github.com/sbrl/PolyFeed" \
--depends mono-runtime \ --depends mono-runtime \