Skip to content

Commit

Permalink
github: originVer contains an array
Browse files Browse the repository at this point in the history
This partly reverts 7b14aa0 where the `()` was misinterpreted as a subshell
while it was in fact the notation for array parsing.

Signed-off-by: Simon Deziel <[email protected]>
(cherry picked from commit 54219b8)
  • Loading branch information
simondeziel authored and tomponline committed Mar 1, 2024
1 parent 23380c7 commit ddc4d34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
localRev="$(git rev-parse HEAD)"
go install github.com/canonical/lxd-ci/lxd-snapcraft@latest
git clone -b "${TARGET}" git+ssh://[email protected]/~canonical-lxd/lxd ~/lxd-pkg-snap-lp
# XXX: `originVer` contains an array with the 2 versions
originVer=($(lxd-snapcraft -get-version -file snapcraft.yaml))
rsync -a --exclude .git --delete . ~/lxd-pkg-snap-lp/
cd ~/lxd-pkg-snap-lp
Expand Down

0 comments on commit ddc4d34

Please sign in to comment.