From e32249e3402c5c1f965c279f9ec531b955bd2995 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Sun, 5 Mar 2023 20:00:05 +0100 Subject: [PATCH] Only run build workflow on tag push. Bump version. --- .github/workflows/build.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ef4b01..839ea12 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: push jobs: publish: runs-on: ${{ matrix.os }} - if: ${{ contains(github.event.head_commit.message, '#build') }} + if: ${{ startsWith(github.ref, 'refs/tags/v') }} permissions: contents: write diff --git a/package.json b/package.json index 4171266..9466673 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Heynote", - "version": "1.0.1", + "version": "1.0.2", "main": "dist-electron/main/index.js", "description": "A dedicated scratch pad", "author": "Jonatan Heyman (https://heyman.info)",