Only run build workflow on tag push.

Bump version.
This commit is contained in:
Jonatan Heyman 2023-03-05 20:00:05 +01:00
parent 1e69a593e2
commit e32249e340
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ on: push
jobs: jobs:
publish: publish:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
if: ${{ contains(github.event.head_commit.message, '#build') }} if: ${{ startsWith(github.ref, 'refs/tags/v') }}
permissions: permissions:
contents: write contents: write

View File

@ -1,6 +1,6 @@
{ {
"name": "Heynote", "name": "Heynote",
"version": "1.0.1", "version": "1.0.2",
"main": "dist-electron/main/index.js", "main": "dist-electron/main/index.js",
"description": "A dedicated scratch pad", "description": "A dedicated scratch pad",
"author": "Jonatan Heyman (https://heyman.info)", "author": "Jonatan Heyman (https://heyman.info)",