ready
This commit is contained in:
parent
1a50133c36
commit
efaa6b3b90
2 changed files with 2 additions and 2 deletions
2
.github/workflows/build-macos.yml
vendored
2
.github/workflows/build-macos.yml
vendored
|
@ -2,7 +2,7 @@ name: "macOS build"
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ enhancement/ci ]
|
||||
branches: [ main, stable ]
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
- 'SECURITY.md'
|
||||
|
|
|
@ -6,7 +6,7 @@ COMMITSINCESTABLE=$(git rev-list $STABLE_SHA..HEAD --count --since="$SHA_DATE")
|
|||
CURRENT_VERSION=$(node -p -e "require('./package.json').version")
|
||||
|
||||
# Set the version number for commits on main branch
|
||||
if [[ ($CIRCLE_BRANCH == "main" || $GITHUB_REF_NAME == "enhancement/ci") && $COMMITSINCESTABLE -gt 0 ]]; then
|
||||
if [[ ($CIRCLE_BRANCH == "main" || $GITHUB_REF_NAME == "main") && $COMMITSINCESTABLE -gt 0 ]]; then
|
||||
NEW_VERSION="${CURRENT_VERSION}-beta.${COMMITSINCESTABLE}"
|
||||
|
||||
# Update the version in package.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue