diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 31601c74..8d6aa4a2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -58,7 +58,7 @@ jobs: - run: | VERSION=$(grep '"version"' package.json | cut -d '"' -f 4) echo $VERSION - sed -i "s/@VERSION@/$VERSION/g" snap/snapcraft.yaml + sed -i "s/^version:.*/version: '$VERSION'/" snap/snapcraft.yaml - uses: snapcore/action-build@v1 id: snapcraft - uses: actions/upload-artifact@v2 diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 3549c787..24244243 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,6 +1,6 @@ name: novnc base: core18 # the base snap is the execution environment for this snap -version: '@VERSION@' +version: git summary: Open Source VNC client using HTML5 (WebSockets, Canvas) description: | Open Source VNC client using HTML5 (WebSockets, Canvas).