1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-05-16 23:40:15 -07:00

Release v1.0.0

This commit is contained in:
Pavlo Buidenkov 2021-01-18 01:48:05 +02:00
parent b8f6d578d9
commit ad20745d58
7 changed files with 19 additions and 7 deletions

View File

@ -74,6 +74,15 @@ create two separate projects in SonarCube panel.
First project for host app, and second project for client viewer app. First project for host app, and second project for client viewer app.
TODO: add how to get started with local SonarCube for Deskreen in details. TODO: add how to get started with local SonarCube for Deskreen in details.
## Note on versioning:
- All versions git tags should start with `v` ex. `v1.0.0`
- Before making a new release with `git push <version-tagname>` set version
to `<version-tagname>` ! without `v` in the beginning! (ex. `1.0.0` -- not start with `v`) in these three files:
- `package.json` -- in `version` key ex. `1.0.0`
- `app/package.json` -- in `version` key ex. `1.0.0`
- `app/package-lock.json` -- in `version` key ex. `1.0.0`
## Maintainer ## Maintainer
- [Pavlo (Paul) Buidenkov](https://www.linkedin.com/in/pavlobu) - [Pavlo (Paul) Buidenkov](https://www.linkedin.com/in/pavlobu)

View File

@ -377,7 +377,7 @@ export default function SettingsOverlay(props: SettingsOverlayProps) {
onClick={(e) => { onClick={(e) => {
e.preventDefault(); e.preventDefault();
shell.openExternal( shell.openExternal(
'https://github.com/pavlobu/deskreen/releases/' 'https://github.com/pavlobu/deskreen/releases/latest'
); );
}} }}
> >

View File

@ -63,13 +63,15 @@ export default class DeskreenApp {
const showNotification = () => { const showNotification = () => {
const notification = { const notification = {
title: 'Deskreen Update is Available!', title: 'Deskreen Update is Available!',
body: `Your current version is ${this.appVersion} Click to download new 1.0.1 updated version.`, body: `Your current version is ${this.appVersion} Click to download new ${this.latestVersion} updated version.`,
}; };
const notificationInstance = new Notification(notification); const notificationInstance = new Notification(notification);
notificationInstance.show(); notificationInstance.show();
notificationInstance.on('click', (event) => { notificationInstance.on('click', (event) => {
event.preventDefault(); // prevent the browser from focusing the Notification's tab event.preventDefault(); // prevent the browser from focusing the Notification's tab
shell.openExternal('https://github.com/pavlobu/deskreen/releases/'); shell.openExternal(
'https://github.com/pavlobu/deskreen/releases/latest'
);
}); });
}; };

2
app/package-lock.json generated
View File

@ -1,5 +1,5 @@
{ {
"name": "deskreen", "name": "deskreen",
"version": "1.0.0-alfa-beta", "version": "1.0.0",
"lockfileVersion": 1 "lockfileVersion": 1
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "deskreen", "name": "deskreen",
"productName": "deskreen", "productName": "deskreen",
"version": "1.0.0-alfa-beta", "version": "1.0.0",
"description": "Deskreen makes any device a second screen for your computer", "description": "Deskreen makes any device a second screen for your computer",
"main": "./main.prod.js", "main": "./main.prod.js",
"author": { "author": {

View File

@ -2,7 +2,7 @@
import axios from 'axios'; import axios from 'axios';
const githubApiRepoTagsUrl = const githubApiRepoTagsUrl =
'https://api.github.com/repos/pavlobu/circleCInodeapp/tags'; 'https://api.github.com/repos/pavlobu/deskreen/tags';
export default async function getNewVersionTag() { export default async function getNewVersionTag() {
let latestVersionTag = ''; let latestVersionTag = '';
@ -18,6 +18,7 @@ export default async function getNewVersionTag() {
}); });
latestVersionTag = foundTag ? foundTag.name : ''; latestVersionTag = foundTag ? foundTag.name : '';
latestVersionTag = latestVersionTag.slice(1);
return latestVersionTag; return latestVersionTag;
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "deskreen", "name": "deskreen",
"productName": "Deskreen", "productName": "Deskreen",
"version": "1.0.0-alfa-beta", "version": "1.0.0",
"description": "Deskreen makes any device a second screen for your computer", "description": "Deskreen makes any device a second screen for your computer",
"scripts": { "scripts": {
"build": "yarn build-main && yarn build-renderer && yarn build-client", "build": "yarn build-main && yarn build-renderer && yarn build-client",