From 219d99b2fde3accb6c150f7f5c1799878bef2a67 Mon Sep 17 00:00:00 2001 From: Alexander Olsen Date: Tue, 2 May 2023 12:21:55 -0400 Subject: [PATCH] test download link on publush --- .github/workflows/create-download-links.yml | 11 ++++++----- release/app/package.json | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/create-download-links.yml b/.github/workflows/create-download-links.yml index 2955263..a4f8e71 100644 --- a/.github/workflows/create-download-links.yml +++ b/.github/workflows/create-download-links.yml @@ -1,9 +1,10 @@ name: 'Create download links' on: - push: - branches: - - main + release: + types: + - published + workflow_dispatch: jobs: release: @@ -35,7 +36,7 @@ jobs: BEGIN_TAG: '' END_TAG: '' run: | - UPDATE=$(cat README.md | perl -0777 -pe 's#(${{ env.BEGIN_TAG }})(?:.|\n)*?(${{ env.END_TAG }})#${1}\nDownload (Apple Intel) :)\n${2}#g') + UPDATE=$(cat README.md | perl -0777 -pe 's#(${{ env.BEGIN_TAG }})(?:.|\n)*?(${{ env.END_TAG }})#${1}\nDownload (Apple Intel)\n${2}#g') echo "${UPDATE}" > README.md - name: Create Intel download link @@ -48,7 +49,7 @@ jobs: BEGIN_TAG: '' END_TAG: '' run: | - UPDATE=$(cat README.md | perl -0777 -pe 's#(${{ env.BEGIN_TAG }})(?:.|\n)*?(${{ env.END_TAG }})#${1}\nDownload (Apple Silicon) :)\n${2}#g') + UPDATE=$(cat README.md | perl -0777 -pe 's#(${{ env.BEGIN_TAG }})(?:.|\n)*?(${{ env.END_TAG }})#${1}\nDownload (Apple Silicon)\n${2}#g') echo "${UPDATE}" > README.md - uses: EndBug/add-and-commit@v7 diff --git a/release/app/package.json b/release/app/package.json index 072ea22..10a8717 100755 --- a/release/app/package.json +++ b/release/app/package.json @@ -1,7 +1,7 @@ { "name": "mimic", "productName": "Mimic", - "version": "1.0.1", + "version": "1.0.2", "description": "MIDI device emulator for software + DAW testing", "license": "MIT", "author": {