Skip to content
Snippets Groups Projects
Unverified Commit 4daaf134 authored by Amin Bandali's avatar Amin Bandali
Browse files

scripts: allow choosing which snap package to build

Change-Id: I518d45903ec29cb6afc04916b03750cb3653d44a
parent 80bc1992
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
set -e set -e
cp -rp /opt/ring-project-ro /opt/ring-project cp -rp /opt/ring-project-ro /opt/ring-project
cd /opt/ring-project/packaging/rules/snap/jami/ cd /opt/ring-project/packaging/rules/snap/${SNAP_PKG_NAME}/
# set the version and tarball filename # set the version and tarball filename
sed -i "s/RELEASE_VERSION/${RELEASE_VERSION}/g" snapcraft.yaml sed -i "s/RELEASE_VERSION/${RELEASE_VERSION}/g" snapcraft.yaml
......
...@@ -263,6 +263,7 @@ def run_generate_all(parsed_args): ...@@ -263,6 +263,7 @@ def run_generate_all(parsed_args):
{ {
"distribution": "snap", "distribution": "snap",
"output_file": ".packages-built", "output_file": ".packages-built",
"options": "-e SNAP_PKG_NAME=${SNAP_PKG_NAME}",
}, },
] ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment