Skip to content

snap: fix version from tag #7

snap: fix version from tag

snap: fix version from tag #7

Workflow file for this run

name: Build and Publish Snap
on:
push:
tags:
- 'v*'
jobs:
snap:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Write VERSION
run: echo "${GITHUB_REF_NAME}" > VERSION
- name: Build snap
id: build
uses: snapcore/action-build@v1
- name: Publish to Snap Store
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
with:
snap: ${{ steps.build.outputs.snap }}
release: edge