Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DFN2
pling-store-releases
Commits
f7eb3c9b
Commit
f7eb3c9b
authored
Aug 29, 2019
by
azubieta
Browse files
Merge branch 'publis_zsync' into 'development'
Publis zsync See merge request dfn2/pling-store!12
parents
cc74a851
05b12019
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f7eb3c9b
...
@@ -8,5 +8,5 @@ appimage:
...
@@ -8,5 +8,5 @@ appimage:
-
./scripts/package appimage
-
./scripts/package appimage
artifacts
:
artifacts
:
paths
:
paths
:
-
build_*/pling-store*.AppImage
-
build_*/pling-store*.AppImage
*
expire_in
:
2 days
expire_in
:
2 days
pkg/appimage/appimagebuild
View file @
f7eb3c9b
...
@@ -2,9 +2,18 @@
...
@@ -2,9 +2,18 @@
PKGNAME
=
'pling-store'
PKGNAME
=
'pling-store'
PKGVER
=
'5.0.1'
PKGVER
=
'5.0.1'
PKGREL
=
'1'
UPDINFO
=
'zsync|http://dl.opendesktop.org/api/files/download/id/1532435039/as/latest/ocs-store-x86_64.AppImage.zsync'
# Only timestamp development branches
if
[
"
${
CI_COMMIT_REF_SLUG
}
"
!=
"master"
]
;
then
PKGREL
=
dev-
${
CI_COMMIT_SHORT_SHA
}
-
$(
date
+
"%Y%m%d-%H%M%S"
)
else
PKGREL
=
'1'
fi
APPIMAGE_FILE_NAME
=
${
PKGNAME
}
-
${
PKGVER
}
-
${
PKGREL
}
-x86_64
.AppImage
ZSYNC_FILE_NAME
=
${
PKGNAME
}
-
${
CI_COMMIT_REF_SLUG
}
-x86_64
.AppImage.zsync
UPDINFO
=
"zsync|https://www.opencode.net/
${
CI_PROJECT_NAMESPACE
}
/
${
CI_PROJECT_NAME
}
/-/jobs/artifacts/
${
CI_COMMIT_REF_SLUG
}
/raw/build_pling-store/
${
ZSYNC_FILE_NAME
}
?job=appimage"
APPDIR
=
"
${
PKGNAME
}
.AppDir"
APPDIR
=
"
${
PKGNAME
}
.AppDir"
make
make
...
@@ -31,9 +40,8 @@ chmod 755 appimagetool
...
@@ -31,9 +40,8 @@ chmod 755 appimagetool
./appimagetool
--appimage-extract
./appimagetool
--appimage-extract
./squashfs-root/AppRun
-u
"
${
UPDINFO
}
"
${
APPDIR
}
./squashfs-root/AppRun
-u
"
${
UPDINFO
}
"
${
APPDIR
}
# Only timestamp development branches
# Fix url in zsync file
if
[
"
${
CI_COMMIT_REF_SLUG
}
"
!=
"master"
]
;
then
sed
-i
"/^URL:.*
$/
c
\U
RL:
${
APPIMAGE_FILE_NAME
}
?job=appimage"
*
-x86_64
.AppImage.zsync
PKGREL
=
dev-
${
CI_COMMIT_SHORT_SHA
}
-
$(
date
+
"%Y%m%d-%H%M%S"
)
fi
mv
*
-x86_64
.AppImage ../
${
PKGNAME
}
-
${
PKGVER
}
-
${
PKGREL
}
-x86_64
.AppImage
mv
*
-x86_64
.AppImage ../
${
APPIMAGE_FILE_NAME
}
mv
*
-x86_64
.AppImage.zsync ../
${
ZSYNC_FILE_NAME
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment