diff options
author | Tobias K <6317548+theCalcaholic@users.noreply.github.com> | 2022-08-21 15:52:03 +0300 |
---|---|---|
committer | Tobias K <6317548+theCalcaholic@users.noreply.github.com> | 2022-08-21 15:52:03 +0300 |
commit | 377c932fe98e75cd9457659f07e94555bb89b7d1 (patch) | |
tree | 8c51bbedea9c1527be43e2b6d992432e0179b355 /.github | |
parent | 220c55528fc6871665b66f9512cf18c78746927a (diff) |
build-lxd.yml: Fix retrieval of current branch from gh ref
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-lxd.yml | 2 |
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") |