Updating CLI to build required versions and including it as part of the release workflow.
This commit is contained in:
parent
23ca7a9750
commit
1d25eae19e
|
@ -9,8 +9,9 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
fetch_depth: 0
|
||||
node-version: 14.x
|
||||
|
||||
- name: Tag and release Docker images (Self Host)
|
||||
run: |
|
||||
|
@ -41,6 +42,13 @@ jobs:
|
|||
uses: azure/setup-helm@v1
|
||||
id: helm-install
|
||||
|
||||
- name: Build CLI executables
|
||||
run: |
|
||||
pushd packages/cli
|
||||
yarn
|
||||
yarn build
|
||||
popd
|
||||
|
||||
# - name: Build and release helm chart
|
||||
# run: |
|
||||
# git config user.name "Budibase Helm Bot"
|
||||
|
@ -67,3 +75,7 @@ jobs:
|
|||
name: v${{ env.RELEASE_VERSION }}
|
||||
tag_name: v${{ env.RELEASE_VERSION }}
|
||||
generate_release_notes: true
|
||||
files: |
|
||||
packages/cli/build/cli-win.exe
|
||||
packages/cli/build/cli-linux
|
||||
packages/cli/build/cli-macos
|
|
@ -93,3 +93,5 @@ hosting/.generated-envoy.dev.yaml
|
|||
# Sublime text
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
|
||||
bin/
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
},
|
||||
"pkg": {
|
||||
"targets": [
|
||||
"node14"
|
||||
"node14-linux",
|
||||
"node14-win",
|
||||
"node14-macos"
|
||||
],
|
||||
"outputPath": "build"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue