Skip to content

Commit

Permalink
feat: new release (v1.4.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyxdd committed Oct 21, 2023
1 parent 8204dce commit ffc16a7
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ concurrency:
group: build-test-release
cancel-in-progress: true

env:
GH_TOKEN: ${{ secrets.github_token }}
MARKETEYE_API_KEY: ${{ secrets.MARKETEYE_API_KEY }}
MARKETEYE_API_URL: ${{ secrets.MARKETEYE_API_URL }}

jobs:
test:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -50,6 +55,4 @@ jobs:
- name: Install dependencies
run: npm install
- name: Build and release the app
env:
GH_TOKEN: ${{ secrets.github_token }}
run: npm run package:publish
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "marketeye-client",
"description": "A desktop app to analyze the stock market based on MarketEye API and electron-react-boilerplate",
"version": "1.4.1",
"version": "1.4.2",
"scripts": {
"build": "npm run build:main && npm run build:renderer",
"build:main": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.main.prod.ts",
Expand Down
4 changes: 2 additions & 2 deletions release/app/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 release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "marketeye-client",
"version": "1.4.1",
"version": "1.4.2",
"description": "A desktop app to analyze the stock market based on MarketEye API and electron-react-boilerplate",
"main": "./dist/main/main.js",
"author": {
Expand Down
12 changes: 6 additions & 6 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ipcMain.on('ipc-example', async (event, arg) => {
ipcMain.handle('get-ticker-analytics', async (_event, arg) => {
try {
const response = await axios.get(
`${process.env.MARKETEYE_API_URL_ANALYTICS}/get_ticker_analytics`,
`${process.env.MARKETEYE_API_URL}/analytics/get_ticker_analytics`,
{
params: {
date: arg.date,
Expand All @@ -63,7 +63,7 @@ ipcMain.handle('get-ticker-analytics', async (_event, arg) => {
ipcMain.handle('get-analytics-lists-by-criteria', async (_event, arg) => {
try {
const response = await axios.get(
`${process.env.MARKETEYE_API_URL_ANALYTICS}/get_analytics_lists_by_criteria`,
`${process.env.MARKETEYE_API_URL}/analytics/get_analytics_lists_by_criteria`,
{
params: {
date: arg.date,
Expand All @@ -82,7 +82,7 @@ ipcMain.handle('get-analytics-lists-by-criteria', async (_event, arg) => {
ipcMain.handle('get-analytics-lists-by-criterion', async (_event, arg) => {
try {
const response = await axios.get(
`${process.env.MARKETEYE_API_URL_ANALYTICS}/get_analytics_lists_by_criterion`,
`${process.env.MARKETEYE_API_URL}/analytics/get_analytics_lists_by_criterion`,
{
params: {
date: arg.date,
Expand All @@ -102,7 +102,7 @@ ipcMain.handle('get-analytics-lists-by-criterion', async (_event, arg) => {
ipcMain.handle('get-dates', async () => {
try {
const response = await axios.get(
`${process.env.MARKETEYE_API_URL_ANALYTICS}/get_dates`,
`${process.env.MARKETEYE_API_URL}/analytics/get_dates`,
{
params: {
api_key: process.env.MARKETEYE_API_KEY,
Expand All @@ -121,7 +121,7 @@ ipcMain.handle('get-dates', async () => {
ipcMain.handle('get-market-analytics', async (_event, arg) => {
try {
const response = await axios.get(
`${process.env.MARKETEYE_API_URL_ANALYTICS}/get_market_analytics`,
`${process.env.MARKETEYE_API_URL}/analytics/get_market_analytics`,
{
params: {
date: arg.date,
Expand All @@ -140,7 +140,7 @@ ipcMain.handle('get-market-analytics', async (_event, arg) => {
ipcMain.handle('notify-developer', async (_event, arg) => {
try {
await axios.post(
`${process.env.MARKETEYE_API_URL_NOTIFICATIONS}/notify_developer`,
`${process.env.MARKETEYE_API_URL}/notifications/notify_developer`,
{ email_body: arg.body, email_subject: arg.subject },
{
headers: { 'Content-Type': 'application/json; charset=UTF-8' },
Expand Down
2 changes: 1 addition & 1 deletion src/main/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default class MenuBuilder {
label: 'Help',
submenu: [
{
label: 'Learn More',
label: 'See Github Repo',
click() {
shell.openExternal(
'https://github.com/andreyxdd/marketeye-client#readme'
Expand Down

0 comments on commit ffc16a7

Please sign in to comment.