diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 990d1d300..3b97248fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: push: branches: - - main + - 5.x pull_request: branches: - '**' diff --git a/.github/workflows/publish-npm-latest-from-pre.yml b/.github/workflows/publish-npm-latest-from-pre.yml index 57844ea3d..61788d4a8 100644 --- a/.github/workflows/publish-npm-latest-from-pre.yml +++ b/.github/workflows/publish-npm-latest-from-pre.yml @@ -15,7 +15,7 @@ permissions: jobs: deploy-npm-latest-from-pre: - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/5.x' runs-on: macos-12 timeout-minutes: 30 steps: diff --git a/.github/workflows/publish-npm-latest.yml b/.github/workflows/publish-npm-latest.yml index 6eaf7bd45..ac70b7450 100644 --- a/.github/workflows/publish-npm-latest.yml +++ b/.github/workflows/publish-npm-latest.yml @@ -15,7 +15,7 @@ permissions: jobs: deploy-npm-latest: - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/5.x' runs-on: macos-12 timeout-minutes: 30 steps: diff --git a/package.json b/package.json index e4ff8c855..12665af98 100644 --- a/package.json +++ b/package.json @@ -15,12 +15,12 @@ "set-podfiles-for-monorepo": "node ./scripts/monorepo-tools/ios-podfile-fix.mjs", "publish:cocoapod": "lerna run publish:cocoapod --concurrency 1", "ci:publish:nightly": "lerna version prerelease --conventional-commits --conventional-prerelease --preid nightly-$(date +\"%Y%m%dT%H%M%S\") --force-publish --no-changelog --no-git-tag-version --no-push --yes && lerna exec -- npm publish --tag nightly --provenance", - "ci:publish:alpha": "lerna version prerelease --conventional-commits --conventional-prerelease --preid alpha --force-publish --yes && lerna exec -- npm publish --tag next --provenance", - "ci:publish:beta": "lerna version prerelease --conventional-commits --conventional-prerelease --preid beta --force-publish --yes && lerna exec -- npm publish --tag next --provenance", - "ci:publish:rc": "lerna version prerelease --conventional-commits --conventional-prerelease --preid rc --force-publish --yes && lerna exec -- npm publish --tag next --provenance", + "ci:publish:alpha": "lerna version prerelease --conventional-commits --conventional-prerelease --preid alpha --force-publish --yes && lerna exec -- npm publish --tag next-5 --provenance", + "ci:publish:beta": "lerna version prerelease --conventional-commits --conventional-prerelease --preid beta --force-publish --yes && lerna exec -- npm publish --tag next-5 --provenance", + "ci:publish:rc": "lerna version prerelease --conventional-commits --conventional-prerelease --preid rc --force-publish --yes && lerna exec -- npm publish --tag next-5 --provenance", "ci:publish:latest": "lerna version --conventional-commits --yes && lerna exec -- npm publish --tag latest --provenance", "ci:publish:latest-from-pre": "lerna version --conventional-graduate --conventional-commits --force-publish --yes && lerna exec -- npm publish --tag latest --provenance", - "ci:publish:dev": "lerna version prerelease --conventional-commits --conventional-prerelease --preid dev-$(date +\"%Y%m%dT%H%M%S\") --force-publish --no-changelog --no-git-tag-version --no-push --yes && lerna exec -- npm publish --tag dev --provenance" + "ci:publish:dev": "lerna version prerelease --conventional-commits --conventional-prerelease --preid dev-$(date +\"%Y%m%dT%H%M%S\") --force-publish --no-changelog --no-git-tag-version --no-push --yes && lerna exec -- npm publish --tag dev-5 --provenance" }, "devDependencies": { "@types/node": "~18.11.19",