Unverified Commit a392a4af authored by Amin Bandali's avatar Amin Bandali
Browse files

packaging: fix snap build

Support for package repositories is no longer experimental, and the
--enable-experimental-package-repositories flag has been removed as of
Snapcraft 4.8.

Change-Id: Ie095aaef7806a13ba765941bed480a25f8cae552
parent 50d7ab81
......@@ -29,7 +29,7 @@ cd /opt/ring-project/packaging/rules/snap/${SNAP_PKG_NAME}/
# set the version and tarball filename
sed -i "s/RELEASE_VERSION/${RELEASE_VERSION}/g" snapcraft.yaml
snapcraft --enable-experimental-package-repositories # requires snapcraft >= 4.4
snapcraft # requires snapcraft >= 4.8
# move the built snap to output
mv *.snap /opt/output/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment