Skip to content

Commit

Permalink
refactor: retest 160
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Oct 3, 2024
1 parent e3ea7e6 commit 3a9b6f3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion electron/components/PearlOTA.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { ipcMain } = require('electron');
const { MacUpdater, NsisUpdater } = require('electron-updater');
const { logger } = require('../logger');
const { isWindows, isMac, isDev } = require('../constants');
const { isWindows, isMac } = require('../constants');
const { githubUpdateOptions } = require('../constants/config');

/** Over-the-air update manager
Expand Down
5 changes: 2 additions & 3 deletions electron/constants/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require('dotenv').config();
* vPrefixedTagName: boolean,
* protocol: "https" | "http",
* token?: string,
* releaseType: 'draft' | 'prerelease' | 'release'
* releaseType: 'draft' | 'prerelease' | 'release',
* }} PearlGithubPublishOptions
*/

Expand All @@ -37,8 +37,7 @@ const githubPublishOptions = {
publishAutoUpdate: true, // Publishes the update to GitHub
vPrefixedTagName: true,
protocol: 'https',
channel: isDev ? 'dev' : 'latest', // The release channel to check for updates, e.g. 'latest', 'beta', 'alpha'
// token: process.env.GH_TOKEN, // Token assigned temporarily during GitHub Actions
channel: isDev ? 'dev' : 'latest', // Github only supports latest, dev stops overwrite
};

/**
Expand Down
2 changes: 1 addition & 1 deletion electron/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const schema = {
* @note All versions prior will be migrated to the latest version.
* @type {Record<string, (store: Store<{[key: string]: unknown}>) => void>} */
const migrations = {
'0.1.0-rc.160': (store) => {
'0.1.0-rc160': (store) => {
// Environment name and current staking program are unused
// can revisit environment name if we need to support multiple environments
if (store.has('environmentName')) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@
"download-binaries": "sh download_binaries.sh",
"build:pearl": "sh build_pearl.sh"
},
"version": "0.1.0-rc.160"
"version": "0.1.0-rc160"
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "olas-operate-middleware"
version = "0.1.0-rc.160"
version = "0.1.0-rc160"
description = ""
authors = ["David Vilela <[email protected]>", "Viraj Patel <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 3a9b6f3

Please sign in to comment.