mirror of
https://github.com/leon-ai/leon.git
synced 2024-09-11 18:27:21 +03:00
refactor: rename GitHub workflows release script as pre-release
This commit is contained in:
parent
4fcf8dceda
commit
3f6e6ccdea
@ -55,8 +55,8 @@
|
||||
"start": "cross-env LEON_NODE_ENV=production node ./server/dist/index.js",
|
||||
"train": "ts-node scripts/train/run-train.js",
|
||||
"prepare-release": "ts-node scripts/release/prepare-release.js",
|
||||
"release:python-bridge": "ts-node scripts/release/release-binaries.js python-bridge",
|
||||
"release:tcp-server": "ts-node scripts/release/release-binaries.js tcp-server",
|
||||
"pre-release:python-bridge": "ts-node scripts/release/pre-release-binaries.js python-bridge",
|
||||
"pre-release:tcp-server": "ts-node scripts/release/pre-release-binaries.js tcp-server",
|
||||
"check": "ts-node scripts/run-check.js",
|
||||
"docker:build": "docker build -t leon-ai/leon .",
|
||||
"docker:run": "docker compose up",
|
||||
|
@ -8,9 +8,9 @@ import { LogHelper } from '@/helpers/log-helper'
|
||||
import { LoaderHelper } from '@/helpers/loader-helper'
|
||||
|
||||
/**
|
||||
* Release binaries via GitHub Actions
|
||||
* Pre-release binaries via GitHub Actions
|
||||
* 1. Ask for confirmation whether the binary version has been bumped
|
||||
* 2. Trigger GitHub workflow to release binaries
|
||||
* 2. Trigger GitHub workflow to pre-release binaries
|
||||
*/
|
||||
|
||||
const BUILD_TARGETS = new Map()
|
||||
@ -57,7 +57,12 @@ BUILD_TARGETS.set('tcp-server', {
|
||||
stdout: 'inherit'
|
||||
})
|
||||
|
||||
LogHelper.success('GitHub workflow triggered. The release is on its way!')
|
||||
LogHelper.success(
|
||||
'GitHub workflow triggered. The pre-release is on its way!'
|
||||
)
|
||||
LogHelper.success(
|
||||
'Once the pre-release is done, go to the GitHub releases to double-check information and hit release'
|
||||
)
|
||||
} catch (e) {
|
||||
LogHelper.error(
|
||||
`An error occurred while triggering the GitHub workflow: ${e}`
|
Loading…
Reference in New Issue
Block a user