1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Merge pull request #10793 from Budibase/release-master-updates

[WIP] Release master updates
This commit is contained in:
Rory Powell 2023-06-06 08:35:08 +01:00 committed by GitHub
commit 8bc1cbfd03
4 changed files with 6 additions and 7 deletions

View file

@ -65,7 +65,6 @@ jobs:
- name: Publish budibase packages to NPM
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
RELEASE_VERSION_TYPE: ${{ github.event.inputs.versioning }}
run: |
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
git config --global user.name "Budibase Release Bot"

View file

@ -28,7 +28,7 @@ on:
required: true
jobs:
tag-prerelease:
tag-release:
runs-on: ubuntu-latest
steps:
@ -43,9 +43,9 @@ jobs:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- run: yarn
- name: Tag prerelease
- name: Tag release
run: |
# setup the username and email.
git config --global user.name "Budibase Staging Release Bot"
git config --global user.email "<>"
./scripts/versionCommit.sh ${{ github.event.inputs.versioning }}
./scripts/versionCommit.sh ${{ github.event.inputs.versioning:-patch }}

View file

@ -38,8 +38,8 @@
"backend:build": "./scripts/scopeBackend.sh 'lerna run --stream build'",
"build:sdk": "lerna run --stream build:sdk",
"deps:circular": "madge packages/server/dist/index.js packages/worker/src/index.ts packages/backend-core/dist/src/index.js packages/cli/src/index.js --circular",
"release": "lerna publish ${RELEASE_VERSION_TYPE:-patch} --yes --force-publish --no-git-tag-version --no-push --no-git-reset",
"release:develop": "lerna publish from-package --yes --force-publish --dist-tag develop --exact --no-git-tag-version --no-push --no-git-reset",
"release": "lerna publish from-package --yes --force-publish --no-git-tag-version --no-push --no-git-reset",
"release:develop": "yarn release --dist-tag develop",
"restore": "yarn run clean && yarn run bootstrap && yarn run build",
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
"nuke:packages": "yarn run restore",

View file

@ -2,7 +2,7 @@
if [ -z "$1" ]
then
echo "Error: version number is required. Usage: $0 [major|minor|patch|prerelease]"
echo "Error: bump type is required. Usage: $0 [major|minor|patch|prerelease]"
exit 1
fi