diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index f55e38bec..2a78c6db2 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -57,10 +57,10 @@ jobs: go install github.com/canonical/lxd-ci/lxd-snapcraft@latest git clone -b "${TARGET}" git+ssh://lxdbot@git.launchpad.net/~canonical-lxd/lxd ~/lxd-pkg-snap-lp # XXX: `ver` contains an array with the 2 versions - ver=($(lxd-snapcraft -get-version -file ~/lxd-pkg-snap-lp/snapcraft.yaml)) + ver=($(lxd-snapcraft -package lxd -get-version -file ~/lxd-pkg-snap-lp/snapcraft.yaml)) rsync -a --exclude .git --delete . ~/lxd-pkg-snap-lp/ cd ~/lxd-pkg-snap-lp - lxd-snapcraft -set-version "${ver[0]}" -set-source-commit "${ver[1]}" + lxd-snapcraft -package lxd -set-version "${ver[0]}" -set-source-commit "${ver[1]}" git add --all git commit --all --quiet -s --allow-empty -m "Automatic upstream build (${TARGET})" -m "Upstream commit: ${localRev}" git show