diff --git a/packaging/appimage/NotePost.AppDir/usr/share/metainfo/notepost.appdata.xml b/packaging/appimage/NotePost.AppDir/usr/share/metainfo/notepost.appdata.xml index 6aa9011..619cc0c 100644 --- a/packaging/appimage/NotePost.AppDir/usr/share/metainfo/notepost.appdata.xml +++ b/packaging/appimage/NotePost.AppDir/usr/share/metainfo/notepost.appdata.xml @@ -1,21 +1,21 @@ - notepostapp - MPL-2.0 - MPL-2.0 - NotePost - Desktop client for NotePost - + notepostapp + MPL-2.0 + MPL-2.0 + NotePost + Desktop client for NotePost + - - notepost.desktop - https://netsyms.com/apps/notepost - - - https://netsyms.com/files/apps/notepost/app/home_desktop.png - - - - notepost.desktop - + + notepost.desktop + https://netsyms.com/apps/notepost + + + https://netsyms.com/files/apps/notepost/app/home_desktop.png + + + + notepost.desktop + diff --git a/packaging/scripts/debian_build.sh b/packaging/scripts/debian_build.sh index b717727..c5083ef 100644 --- a/packaging/scripts/debian_build.sh +++ b/packaging/scripts/debian_build.sh @@ -1,10 +1,11 @@ #!/bin/bash -# $1 is the app source location, $2 is the svg icon +# $1 is the app source location, $2 is the svg icon, $3 is the app version code mkdir -p out rm -rf debian/usr/share/notepost mkdir -p debian/usr/share/notepost mkdir -p debian/usr/share/doc/notepost rsync -rv "$1" debian/usr/share/notepost cp debian/DEBIAN/copyright debian/usr/share/doc/notepost/ +sed -i "s/Version:\s[0-9.\-]\+/Version: $3+b$BUILD_NUMBER/" debian/DEBIAN/control cp "$2" debian/usr/share/notepost/logo.svg -dpkg-deb -b debian "out/notepost_1.3.0-1_all.deb" +dpkg-deb -b debian "out/notepost_$3+b${BUILD_NUMBER}_all.deb"