This commit is contained in:
Core 2022-08-03 23:36:45 +01:00
parent 1a50133c36
commit efaa6b3b90
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ name: "macOS build"
on: on:
push: push:
branches: [ enhancement/ci ] branches: [ main, stable ]
paths-ignore: paths-ignore:
- 'README.md' - 'README.md'
- 'SECURITY.md' - 'SECURITY.md'

View file

@ -6,7 +6,7 @@ COMMITSINCESTABLE=$(git rev-list $STABLE_SHA..HEAD --count --since="$SHA_DATE")
CURRENT_VERSION=$(node -p -e "require('./package.json').version") CURRENT_VERSION=$(node -p -e "require('./package.json').version")
# Set the version number for commits on main branch # 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}" NEW_VERSION="${CURRENT_VERSION}-beta.${COMMITSINCESTABLE}"
# Update the version in package.json # Update the version in package.json