Skip to content
Snippets Groups Projects
Commit 8ba0e4d6 authored by chrissi^'s avatar chrissi^
Browse files

Added support for release tags starting with "ffbs"


Signed-off-by: default avatarChrissi^ <chris@tinyhost.de>
parent 36d8f0ac
No related branches found
No related tags found
No related merge requests found
......@@ -15,20 +15,24 @@ BRANCH=experimental
# prepare needed strings
GLUONVERSION=$(git describe --tags | cut -d "-" -f 1)
if [[ $GLUONVERSION = "ffbs"* ]]; then
:
else
GLUONVERSION=ffbs${GLUONVERSION}
fi
SITECOMMIT=$(cd site; git log -1 --format="%H")
ARCHSTRING=multiarch
if [ "${#ARCHITECTURES[@]}" -eq "1" ]; then
ARCHSTRING=${ARCHITECTURES[0]}
fi
RELEASENAME=${GLUONVERSION}-$(date '+%Y%m%d%H%M')-${BRANCH}
RELEASETAG=ffbs${GLUONVERSION}_${BRANCH}_${ARCHSTRING}_$(date '+%Y%m%d-%H%M')_${SITECOMMIT}
RELEASETAG=${GLUONVERSION}_${BRANCH}_${ARCHSTRING}_$(date '+%Y%m%d-%H%M')_${SITECOMMIT}
echo $RELEASETAG
#DEBUG="V=s"
DEBUG=""
# Days until the autoupdater makes sure that the new vesion gets installed
# (maybe define based on the branch?)
PRIO=2
......
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