Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/build-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Changelog for Stingray 96 Controller
====================================

0.5.0 (unreleased)
0.5.1 (unreleased)
------------------
Initial 96 well beta release
2 changes: 1 addition & 1 deletion electron/electron-builder-config/beta96.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions electron/electron-builder-config/prod.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -23,5 +23,5 @@ publish:
provider: "s3"
bucket: "downloads.curibio.com"
path: "software/stingray"
channel: "prod"
channel: "prod96"
region: "us-east-1"
4 changes: 2 additions & 2 deletions electron/electron-builder-config/unstable.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -23,5 +23,5 @@ publish:
provider: "s3"
bucket: "downloads.curibio.com"
path: "software/stingray"
channel: "unstable"
channel: "unstable96"
region: "us-east-1"
4 changes: 2 additions & 2 deletions electron/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading