We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b88fca commit b6790d6Copy full SHA for b6790d6
1 file changed
.github/workflows/release.yml
@@ -188,6 +188,13 @@ jobs:
188
ref: ${{ env.TAG }}
189
fetch-depth: 0
190
191
+ - name: Set snap version from tag
192
+ run: |
193
+ VERSION="${TAG#v}"
194
+ sed -i "s/^version: git$/version: '${VERSION}'/" snap/snapcraft.yaml
195
+ echo "Snap version: ${VERSION}"
196
+ grep '^version:' snap/snapcraft.yaml
197
+
198
- name: Build snap
199
uses: snapcore/action-build@v1
200
id: build
0 commit comments