mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-31 17:44:52 +01:00
Better names for artifacts in travis CI.
This commit is contained in:
parent
596b3009be
commit
3a35fc2a18
@ -21,4 +21,22 @@ chmod a+x linuxdeployqt-continuous-x86_64.AppImage
|
||||
unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
||||
./linuxdeployqt-continuous-x86_64.AppImage "./AppDir/usr/share/applications/com.github.rssguard.desktop" -bundle-non-qt-libs -no-translations
|
||||
./linuxdeployqt-continuous-x86_64.AppImage "./AppDir/usr/share/applications/com.github.rssguard.desktop" -appimage -no-translations
|
||||
ls
|
||||
|
||||
# Rename AppImaage.
|
||||
set -- R*.AppImage
|
||||
|
||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||
|
||||
imagename="$1"
|
||||
git_tag=$(git describe --abbrev=0)
|
||||
git_revision=$(git rev-parse --short HEAD)
|
||||
|
||||
if [ "$USE_WEBENGINE" = true ]; then
|
||||
imagenewname="rssguard-${git_tag}-${git_revision}-linux64.AppImage"
|
||||
else
|
||||
imagenewname="rssguard-${git_tag}-${git_revision}-nowebengine-linux64.AppImage"
|
||||
fi
|
||||
|
||||
mv "$imagename" "$imagenewname"
|
||||
|
||||
ls
|
@ -12,4 +12,22 @@ make install
|
||||
cd "src/rssguard"
|
||||
make dmg
|
||||
otool -L "RSS Guard.app/Contents/MacOS/rssguard"
|
||||
ls
|
||||
|
||||
# Rename DMG.
|
||||
set -- *.dmg
|
||||
|
||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||
|
||||
dmgname="$1"
|
||||
git_tag=$(git describe --abbrev=0)
|
||||
git_revision=$(git rev-parse --short HEAD)
|
||||
|
||||
if [ "$USE_WEBENGINE" = true ]; then
|
||||
dmgnewname="rssguard-${git_tag}-${git_revision}-mac64.dmg"
|
||||
else
|
||||
dmgnewname="rssguard-${git_tag}-${git_revision}-nowebengine-mac64.dmg"
|
||||
fi
|
||||
|
||||
mv "$dmgname" "$dmgnewname"
|
||||
|
||||
ls
|
Loading…
x
Reference in New Issue
Block a user