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: | 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/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" 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",