mirror of
https://github.com/cryptomator/cryptomator.git
synced 2024-11-23 12:09:45 +00:00
adjust ppa build to use "common" resources
This commit is contained in:
parent
d38c19cffc
commit
90da61e495
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -221,15 +221,15 @@ jobs:
|
||||
- name: patch and rename pkgdir
|
||||
run: |
|
||||
cp -r dist/linux/debian/ pkgdir
|
||||
cp -r dist/linux/resources/ pkgdir
|
||||
cp -r dist/linux/common/ pkgdir
|
||||
export RFC2822_TIMESTAMP=`date --rfc-2822`
|
||||
envsubst '${VERSION_STR} ${VERSION_NUM} ${REVISION_NUM}' < dist/linux/debian/rules > pkgdir/debian/rules
|
||||
envsubst '${VERSION_STR}' < dist/linux/debian/org.cryptomator.Cryptomator.desktop > pkgdir/debian/org.cryptomator.Cryptomator.desktop
|
||||
envsubst '${SEMVER_STR} ${VERSION_NUM} ${REVISION_NUM}' < dist/linux/debian/rules > pkgdir/debian/rules
|
||||
envsubst '${SEMVER_STR}' < dist/linux/common/org.cryptomator.Cryptomator.desktop > pkgdir/common/org.cryptomator.Cryptomator.desktop
|
||||
envsubst '${PPA_VERSION} ${RFC2822_TIMESTAMP}' < dist/linux/debian/changelog > pkgdir/debian/changelog
|
||||
find . -name "*.jar" >> pkgdir/debian/source/include-binaries
|
||||
mv pkgdir cryptomator_${{ needs.metadata.outputs.ppaVerStr }}
|
||||
env:
|
||||
VERSION_STR: ${{ needs.metadata.outputs.semVerStr }}
|
||||
SEMVER_STR: ${{ needs.metadata.outputs.semVerStr }}
|
||||
VERSION_NUM: ${{ needs.metadata.outputs.semVerNum }}
|
||||
REVISION_NUM: ${{ needs.metadata.outputs.revNum }}
|
||||
PPA_VERSION: ${{ needs.metadata.outputs.ppaVerStr }}-0ppa1
|
||||
|
11
dist/linux/debian/cryptomator.install
vendored
11
dist/linux/debian/cryptomator.install
vendored
@ -1,7 +1,8 @@
|
||||
cryptomator usr/lib
|
||||
debian/cryptomator.sh usr/lib/cryptomator/bin
|
||||
debian/org.cryptomator.Cryptomator.desktop usr/share/applications
|
||||
debian/org.cryptomator.Cryptomator.svg usr/share/icons/hicolor/scalable/apps
|
||||
debian/org.cryptomator.Cryptomator.png usr/share/icons/hicolor/512x512/apps
|
||||
debian/org.cryptomator.Cryptomator.appdata.xml usr/share/metainfo
|
||||
debian/cryptomator-vault.xml usr/share/mime/packages
|
||||
common/org.cryptomator.Cryptomator.desktop usr/share/applications
|
||||
common/org.cryptomator.Cryptomator.svg usr/share/icons/hicolor/scalable/apps
|
||||
common/org.cryptomator.Cryptomator256.png usr/share/icons/hicolor/256x256/apps
|
||||
common/org.cryptomator.Cryptomator512.png usr/share/icons/hicolor/512x512/apps
|
||||
common/org.cryptomator.Cryptomator.appdata.xml usr/share/metainfo
|
||||
common/cryptomator-vault.xml usr/share/mime/packages
|
2
dist/linux/debian/rules
vendored
2
dist/linux/debian/rules
vendored
@ -40,7 +40,7 @@ override_dh_auto_build:
|
||||
--java-options "-Dcryptomator.mountPointsDir=\"~/.local/share/Cryptomator/mnt\"" \
|
||||
--java-options "-Dcryptomator.showTrayIcon=false" \
|
||||
--java-options "-Dcryptomator.buildNumber=\"ppa-${REVISION_NUM}\"" \
|
||||
--java-options "-Dcryptomator.appVersion=\"${VERSION_STR}\"" \
|
||||
--java-options "-Dcryptomator.appVersion=\"${SEMVER_STR}\"" \
|
||||
--app-version "${VERSION_NUM}.${REVISION_NUM}" \
|
||||
--resource-dir resources \
|
||||
--verbose
|
||||
|
4
dist/linux/debian/source/include-binaries
vendored
4
dist/linux/debian/source/include-binaries
vendored
@ -1,2 +1,2 @@
|
||||
debian/org.cryptomator.Cryptomator.png
|
||||
resources/cryptomator.png
|
||||
common/org.cryptomator.Cryptomator256.png
|
||||
common/org.cryptomator.Cryptomator512.png
|
Loading…
Reference in New Issue
Block a user