Skip to content
Snippets Groups Projects
Commit dd6ae46f authored by azubieta's avatar azubieta
Browse files

Merge branch 'development' into 'master'

Fix file naming on the development repo

See merge request dfn2/pling-store-development!18
parents 1bbe7878 49dbfa84
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ PKGNAME='pling-store'
PKGVER='5.1.1'
# Only timestamp development branches
if [ "${CI_COMMIT_REF_SLUG}" != "master" ]; then
if [[ "${CI_PROJECT_NAME}" == *"development"* ]]; then
PKGREL=dev-${CI_COMMIT_SHORT_SHA}-$(date +"%Y%m%d-%H%M%S")
else
PKGREL='1'
......@@ -42,6 +42,7 @@ chmod 755 appimagetool
# Fix url in zsync file
sed -i "/^URL:.*$/c\URL: ${APPIMAGE_FILE_NAME}?job=appimage" *-x86_64.AppImage.zsync
sed -i "/^Filename:.*$/c\Filename: ${APPIMAGE_FILE_NAME}" *-x86_64.AppImage.zsync
mv *-x86_64.AppImage ../${APPIMAGE_FILE_NAME}
mv *-x86_64.AppImage.zsync ../${ZSYNC_FILE_NAME}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment