From 74204694165ca279167c62e26cf19b6de8e070ca Mon Sep 17 00:00:00 2001 From: Tanner Peterson Date: Thu, 26 Feb 2026 12:51:10 -0600 Subject: [PATCH 1/3] fix appId and use different release channel names for prod and unstable --- electron/electron-builder-config/beta96.yaml | 2 +- electron/electron-builder-config/prod.yaml | 4 ++-- electron/electron-builder-config/unstable.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/electron/electron-builder-config/beta96.yaml b/electron/electron-builder-config/beta96.yaml index 7b0d06d..667da24 100644 --- a/electron/electron-builder-config/beta96.yaml +++ b/electron/electron-builder-config/beta96.yaml @@ -1,6 +1,6 @@ # https://www.electron.build/configuration/configuration#configuration productName: "Stingray 96 Controller" -appId: "CuriBio.Stingray.Controller" +appId: "CuriBio.Stingray96.Controller" asar: true directories: buildResources: "electron-build-resources" diff --git a/electron/electron-builder-config/prod.yaml b/electron/electron-builder-config/prod.yaml index b96a5ec..9f40717 100644 --- a/electron/electron-builder-config/prod.yaml +++ b/electron/electron-builder-config/prod.yaml @@ -1,6 +1,6 @@ # https://www.electron.build/configuration/configuration#configuration productName: "Stingray 96 Controller" -appId: "CuriBio.Stingray.Controller" +appId: "CuriBio.Stingray96.Controller" asar: true directories: buildResources: "electron-build-resources" @@ -23,5 +23,5 @@ publish: provider: "s3" bucket: "downloads.curibio.com" path: "software/stingray" - channel: "prod" + channel: "prod96" region: "us-east-1" diff --git a/electron/electron-builder-config/unstable.yaml b/electron/electron-builder-config/unstable.yaml index 3fc684c..87d5413 100644 --- a/electron/electron-builder-config/unstable.yaml +++ b/electron/electron-builder-config/unstable.yaml @@ -1,6 +1,6 @@ # https://www.electron.build/configuration/configuration#configuration productName: "Stingray 96 Controller" -appId: "CuriBio.Stingray.Controller" +appId: "CuriBio.Stingray96.Controller" asar: true directories: buildResources: "electron-build-resources" @@ -23,5 +23,5 @@ publish: provider: "s3" bucket: "downloads.curibio.com" path: "software/stingray" - channel: "unstable" + channel: "unstable96" region: "us-east-1" From 0624594c75a590a880c1f94077901d3fd8282030 Mon Sep 17 00:00:00 2001 From: Tanner Peterson Date: Thu, 26 Feb 2026 12:53:11 -0600 Subject: [PATCH 2/3] bump version --- CHANGELOG.rst | 2 +- electron/package-lock.json | 4 ++-- electron/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 07841bd..e72f71f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,6 @@ Changelog for Stingray 96 Controller ==================================== -0.5.0 (unreleased) +0.5.1 (unreleased) ------------------ Initial 96 well beta release diff --git a/electron/package-lock.json b/electron/package-lock.json index a1233e1..69bb279 100644 --- a/electron/package-lock.json +++ b/electron/package-lock.json @@ -1,12 +1,12 @@ { "name": "Stingray96Controller", - "version": "0.5.0", + "version": "0.5.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "Stingray96Controller", - "version": "0.5.0", + "version": "0.5.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/electron/package.json b/electron/package.json index 7c42191..94b7448 100644 --- a/electron/package.json +++ b/electron/package.json @@ -1,6 +1,6 @@ { "name": "Stingray96Controller", - "version": "0.5.0", + "version": "0.5.1", "description": "Desktop application for controlling the Stingray instrument.", "author": { "name": "Curi Bio", From 958fd4364ed22be34c6917140abc756d98e6cc3c Mon Sep 17 00:00:00 2001 From: Tanner Peterson Date: Thu, 26 Feb 2026 12:59:28 -0600 Subject: [PATCH 3/3] fix initial tag check in build-publish --- .github/workflows/build-publish.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-publish.yaml b/.github/workflows/build-publish.yaml index 4f0cfde..8bac751 100644 --- a/.github/workflows/build-publish.yaml +++ b/.github/workflows/build-publish.yaml @@ -35,8 +35,15 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Get Version + id: software-version-pre-check + uses: notiz-dev/github-action-json-property@v0.2.0 + with: + path: "electron/package.json" + prop_path: "version" + - name: Confirming tag not already present on remote - run: if [$(git ls-remote --tags origin | grep ${{ steps.extract_version.outputs.package-version }}) = '']; then echo Tag does not exist on remote; else echo Tag already exists on remote && exit 1; fi + run: if [$(git ls-remote --tags origin | grep ${{ steps.software-version-pre-check.outputs.prop }}) = '']; then echo Tag does not exist on remote; else echo Tag already exists on remote && exit 1; fi - name: Extract branch name # Adapted from: https://stackoverflow.com/questions/58033366/how-to-get-current-branch-within-github-actions run: |