Merge pull request #3929 from Budibase/fix/cli-versioning

Updating self host docs and making CLI pkgs part of release
This commit is contained in:
Michael Drury 2022-01-06 13:24:37 +00:00 committed by GitHub
commit b58aac4835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 8 deletions

View File

@ -9,8 +9,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v1
with: with:
fetch_depth: 0 node-version: 14.x
- name: Tag and release Docker images (Self Host) - name: Tag and release Docker images (Self Host)
run: | run: |
@ -41,6 +42,13 @@ jobs:
uses: azure/setup-helm@v1 uses: azure/setup-helm@v1
id: helm-install id: helm-install
- name: Build CLI executables
run: |
pushd packages/cli
yarn
yarn build
popd
# - name: Build and release helm chart # - name: Build and release helm chart
# run: | # run: |
# git config user.name "Budibase Helm Bot" # git config user.name "Budibase Helm Bot"
@ -67,3 +75,7 @@ jobs:
name: v${{ env.RELEASE_VERSION }} name: v${{ env.RELEASE_VERSION }}
tag_name: v${{ env.RELEASE_VERSION }} tag_name: v${{ env.RELEASE_VERSION }}
generate_release_notes: true generate_release_notes: true
files: |
packages/cli/build/cli-win.exe
packages/cli/build/cli-linux
packages/cli/build/cli-macos

2
.gitignore vendored
View File

@ -93,3 +93,5 @@ hosting/.generated-envoy.dev.yaml
# Sublime text # Sublime text
*.sublime-project *.sublime-project
*.sublime-workspace *.sublime-workspace
bin/

View File

@ -13,7 +13,9 @@
}, },
"pkg": { "pkg": {
"targets": [ "targets": [
"node14" "node14-linux",
"node14-win",
"node14-macos"
], ],
"outputPath": "build" "outputPath": "build"
}, },