Travis only generate a zip file for no

This commit is contained in:
RustyRaptor committed 2019-05-21 11:14:45 -06:00
1 parent d89da5c1d7
commit 1974211766
3 files changed
+30 -6

No files matched your search

+6 -6
View File
@@ -34,8 +34,8 @@ script:
#cd tools/rpm && sh generate_rpm.sh && cd ../../ &
#cd tools/flatpak && sh generate_flatpak.sh && cd ../../ &
#cd tools/snap && sh generate_snap.sh && cd ../../ &
cd tools/deb && sh generate_deb.sh && cd ../../ &
cd tools/appimage && sh gtk.sh && cd ../../ &
# cd tools/deb && sh generate_deb.sh && cd ../../ &
# cd tools/appimage && sh gtk.sh && cd ../../ &
wait
fi
#windows
@@ -60,9 +60,9 @@ script:
# fi
before_deploy:
- test -f tools/appimage/Baddleship.AppImage
# - test -f tools/appimage/Baddleship.AppImage
# - test -f tools/deb/Baddleship.deb
# - test -f Baddleship-AppDir.zip
- test -f Baddleship-AppDir.zip
# - test -f Baddleship-CLI-AppDir.zip
# - test -f Baddleship-CLI-Windows-x86.zip
# - test -f Baddleship-Windows-x86.zip
@@ -83,9 +83,9 @@ deploy:
api_key:
secure: $GITHUB_TOKEN
file:
- tools/appimage/Baddleship.AppImage
# - tools/appimage/Baddleship.AppImage
# - tools/deb/Baddleship.deb
# - Baddleship-AppDir.zip
- Baddleship-AppDir.zip
# - Baddleship-CLI-AppDir.zip
# - Baddleship-CLI-Windows-x86.zip
# - Baddleship-Windows-x86.zip
View File
Whitespace-only changes.
+24
View File
@@ -0,0 +1,24 @@
app: me.santamorena.drill
ingredients:
dist: trusty
sources:
- deb http://deb.debian.org/debian stretch main
packages:
- libgcc1
# create the necessary dirs
script:
- mkdir -p me.santamorena.drill.AppDir/usr
# copy the assets
script:
- cd ../../../
- cp Drill-CLI tools/appimage/me.santamorena.drill/me.santamorena.drill.AppDir/usr/Drill
- cp DRILL_VERSION tools/appimage/me.santamorena.drill/me.santamorena.drill.AppDir/usr/
- chmod +x tools/appimage/me.santamorena.drill/me.santamorena.drill.AppDir/usr/Drill
- cp -r assets tools/appimage/me.santamorena.drill/me.santamorena.drill.AppDir/usr/
- cd tools/appimage
- cp drill.sh me.santamorena.drill/me.santamorena.drill.AppDir/usr/
- chmod +x me.santamorena.drill/me.santamorena.drill.AppDir/usr/drill.sh
- cp me.santamorena.drill.desktop me.santamorena.drill/me.santamorena.drill.AppDir
- cp ../../assets/icon.svg me.santamorena.drill/me.santamorena.drill.AppDir