Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias K <6317548+theCalcaholic@users.noreply.github.com>2022-08-21 15:52:03 +0300
committerTobias K <6317548+theCalcaholic@users.noreply.github.com>2022-08-21 15:52:03 +0300
commit377c932fe98e75cd9457659f07e94555bb89b7d1 (patch)
tree8c51bbedea9c1527be43e2b6d992432e0179b355 /.github
parent220c55528fc6871665b66f9512cf18c78746927a (diff)
build-lxd.yml: Fix retrieval of current branch from gh ref
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-lxd.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build-lxd.yml b/.github/workflows/build-lxd.yml
index 84e699d9..89c09dbe 100644
--- a/.github/workflows/build-lxd.yml
+++ b/.github/workflows/build-lxd.yml
@@ -145,7 +145,7 @@ jobs:
run: |
set -ex
BRANCH="${VERSION/refs\/heads\//}"
- BRANCH="${VERSION/refs\/tags\//}"
+ BRANCH="${BRANCH/refs\/tags\//}"
if [[ "$BRANCH" =~ "refs/pull/"* ]]
then
UPDATE_ARGS=("${{ github.base_ref }}" "$VERSION")