Commit dd6ae46f authored by azubieta's avatar azubieta

Merge branch 'development' into 'master'

Fix file naming on the development repo

See merge request !18
parents 1bbe7878 49dbfa84
Pipeline #1056 passed with stage
in 2 minutes and 39 seconds
......@@ -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}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment