mirror of
https://github.com/sbrl/PolyFeed.git
synced 2024-11-22 06:23:02 +00:00
build: Maybe a copy will do the trick?
Drat! fpm out-smarted us with it's knowledge of symlinks :P
This commit is contained in:
parent
c1e7692617
commit
d33c36562f
1 changed files with 2 additions and 2 deletions
4
build
4
build
|
@ -74,7 +74,7 @@ task_build() {
|
||||||
|
|
||||||
task_package() {
|
task_package() {
|
||||||
task_begin "Packaging as .deb";
|
task_begin "Packaging as .deb";
|
||||||
execute ln -s Release PolyFeed/bin/polyfeed;
|
execute cp -ral 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)";
|
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 \
|
fpm -s dir -t deb -n polyfeed -v "${version}" --license MPL-2.0 \
|
||||||
--architecture all --maintainer "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>" \
|
--architecture all --maintainer "Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>" \
|
||||||
|
@ -83,7 +83,7 @@ task_package() {
|
||||||
--depends mono-runtime \
|
--depends mono-runtime \
|
||||||
PolyFeed/bin/polyfeed=/usr/lib \
|
PolyFeed/bin/polyfeed=/usr/lib \
|
||||||
polyfeed=/usr/bin;
|
polyfeed=/usr/bin;
|
||||||
execute rm PolyFeed/bin/polyfeed;
|
execute rm -r PolyFeed/bin/polyfeed;
|
||||||
execute dpkg -c *.deb; # We don't know it's name :P
|
execute dpkg -c *.deb; # We don't know it's name :P
|
||||||
task_end $?;
|
task_end $?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue