From 9e2dbcf01556bbcb70b36c3e2824242a5913a3a8 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Thu, 5 Jan 2023 15:31:10 +0100 Subject: [PATCH] Fix build --- .github/workflows/desktop.yml | 1 + scripts/release.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100755 scripts/release.sh diff --git a/.github/workflows/desktop.yml b/.github/workflows/desktop.yml index 8494d26..0b02ed0 100644 --- a/.github/workflows/desktop.yml +++ b/.github/workflows/desktop.yml @@ -3,6 +3,7 @@ name: Build & Release on: push: tags: + - '*' jobs: build: name: Build (${{ matrix.os }} - ${{ matrix.arch }}) diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100755 index 0000000..2ed9155 --- /dev/null +++ b/scripts/release.sh @@ -0,0 +1,7 @@ +#!/bin/bash -e + +VERSION=$1 +cd desktop; npm version $VERSION; cd .. +git commit -am $VERSION +git tag $VERSION +git push && git push --tags