Skip to content
Snippets Groups Projects
Verified Commit 2de9f0db authored by azubieta's avatar azubieta
Browse files

Add timestamp based on the repo name

parent 3f1d851a
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ PKGNAME='pling-store'
PKGVER='5.0.1'
# Only timestamp development branches
if [ "${CI_COMMIT_REF_SLUG}" != "master" ]; then
if [[ "${CI_PROJECT_NAMESPACE}" == *"development"* ]]; then
PKGREL=dev-${CI_COMMIT_SHORT_SHA}-$(date +"%Y%m%d-%H%M%S")
else
PKGREL='1'
......
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