forked from canonical/lxd-pkg-snap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github: Explicitly pass -package flag to lxd-snapcraft
Signed-off-by: Thomas Parrott <[email protected]>
- Loading branch information
1 parent
414bb12
commit 3306604
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,10 +57,10 @@ jobs: | |
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: `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 | ||
|