From 325da5740dcde7a453b2019c7f75f43e151baf2a Mon Sep 17 00:00:00 2001 From: Stefan Date: Thu, 25 May 2023 13:34:45 +0200 Subject: [PATCH] Added dev variable --- .woodpecker/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 8f31aa2..81e1e11 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -6,7 +6,7 @@ variables: image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest" pull: true environment: - - input_version=v2022.1.4 + - input_version=${CI_COMMIT_TAG} - GLUON_SITEDIR=.. - FORCE_UNSAFE_CONFIGURE=1 - GLUON_TARGET=${TARGET} @@ -37,6 +37,9 @@ pipeline: <<: *default commands: - cd gluon + - if [ $input_version -eq "" ] then input_version=dev + - echo $input_version + - echo $CI_COMMIT_BRANCH - make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=${CI_COMMIT_BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${CI_COMMIT_BRANCH} GLUON_OUTPUTDIR=output/${CI_COMMIT_BRANCH} list_images: