cicd
This commit is contained in:
parent
72fd4aa6e0
commit
72b3368b48
2 changed files with 5 additions and 4 deletions
|
|
@ -58,4 +58,4 @@ auto-release-master:
|
|||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when when commits are pushed to the default branch
|
||||
script:
|
||||
- echo "Release $VERSION"
|
||||
- release-cli create --name "Release $VERSION" --tag-name v$VERSION --description Release $CI_COMMIT_TITLE --ref $CI_COMMIT_SHA --assets-link '{"name":${APPNAME},"url":"${PACKAGE_REGISTRY_URL}/${PACKAGE}"}'
|
||||
- release-cli create --name "Release $VERSION" --tag-name v$VERSION --description "Release $CI_COMMIT_TITLE" --ref $CI_COMMIT_SHA --assets-link '{"name":${APPNAME},"url":"${PACKAGE_REGISTRY_URL}/${PACKAGE}"}'
|
||||
|
|
|
|||
|
|
@ -27,12 +27,13 @@ const isDev = require('electron-is-dev');
|
|||
type: 'info',
|
||||
buttons: ['Restart', 'Later'],
|
||||
title: 'Application Update',
|
||||
message: releaseName,
|
||||
detail: 'A new version has been downloaded. Restart to update.'
|
||||
message: 'A new version has been downloaded. Restart to update.'
|
||||
}
|
||||
|
||||
autoUpdater.on('update-downloaded', () => {
|
||||
autoUpdater.quitAndInstall()
|
||||
dialog.showMessageBox(dialogConfig).then((returnValue) => {
|
||||
if (returnValue.response === 0) autoUpdater.quitAndInstall()
|
||||
})
|
||||
})
|
||||
|
||||
autoUpdater.checkForUpdatesAndNotify()
|
||||
|
|
|
|||
Loading…
Reference in a new issue