Package files directly in snapcraft.yaml

We don't need to convert things anymore, so reference files directly in
the snap yaml file.
This commit is contained in:
Pierre Ossman
2020-12-30 13:56:47 +01:00
parent 23249c7263
commit cd9f535eb3
2 changed files with 17 additions and 7 deletions

View File

@@ -33,12 +33,6 @@ jobs:
container: snapcore/snapcraft
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: npm install
- run: ./utils/use_require.js --clean --as commonjs --with-app
- run: |
cp utils/launch.sh build/launch.sh
cp snap/local/svc_wrapper.sh build/svc_wrapper.sh
- run: |
VERSION=$(grep '"version"' package.json | cut -d '"' -f 4)
echo $VERSION