diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 2374685..be9f925 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -5,6 +5,8 @@ on: push: tags: - "v[0-9]+.[0-9]+.[0-9]+" + workflow_dispatch: + permissions: contents: read diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fa771aa..ae01c42 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,11 +1,8 @@ name: Release on: - pull_request: - types: [closed] - branches: [main] push: - branches: [next, next-setup] + branches: [releases, next] workflow_dispatch: permissions: diff --git a/.github/workflows/releaseMerge.yaml b/.github/workflows/releaseMerge.yaml new file mode 100644 index 0000000..c8703e3 --- /dev/null +++ b/.github/workflows/releaseMerge.yaml @@ -0,0 +1,24 @@ +name: Release Merge + +on: + push: + branches: [main] + paths-ignore: + - 'package.json' + - 'CHANGELOG.md' + workflow_dispatch: + +jobs: + sync-branch: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Merge main into release + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git checkout release + git merge origin/main --no-edit + git push origin release + diff --git a/CHANGELOG.md b/CHANGELOG.md index 26d1e45..76355a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,46 @@ +# [1.11.0-next.2](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.11.0-next.1...v1.11.0-next.2) (2026-11-23) + + +### Bug Fixes + +* **deploys:** ignores package and changelog for releaseMerge flow ([8073f65](https://github.com/FusionAuth/fusionauth-node-cli/commit/8073f654eb50341a26359634ed93881edc45b30a)) + +# [1.11.0-next.1](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.10.0...v1.11.0-next.1) (2026-11-23) + + +### Bug Fixes + +* adds workflow_dispatch to oldschool deploy ([7ef9499](https://github.com/FusionAuth/fusionauth-node-cli/commit/7ef94990f6a7253749397f5638b63ff64ef37ae4)) +* **deploys:** adds explicit name for modern semantic version package ([#69](https://github.com/FusionAuth/fusionauth-node-cli/issues/69)) ([dee9fdf](https://github.com/FusionAuth/fusionauth-node-cli/commit/dee9fdf6a1a8b703979ab161efeab0e1efb81678)) +* **deploys:** converts release merge to vanilla git ([#68](https://github.com/FusionAuth/fusionauth-node-cli/issues/68)) ([3f61415](https://github.com/FusionAuth/fusionauth-node-cli/commit/3f61415ff21720c63a0c14605fe99d6e3969c576)) +* **deploys:** modifies release branch to releases to match GitHub ([647820f](https://github.com/FusionAuth/fusionauth-node-cli/commit/647820fd117d8bccf36b9b50616a47d9c6fab5ce)) +* **deploys:** removes alpha branch from workflow yaml ([a919b9d](https://github.com/FusionAuth/fusionauth-node-cli/commit/a919b9da0e03a6146de0e6d437b6d156127a7769)) +* **deploys:** removes wildcard release to fix workflow errors ([3caf2af](https://github.com/FusionAuth/fusionauth-node-cli/commit/3caf2aff3e5df74ee7f1e35ff356bd489c0c0d14)) + + +### Features + +* **deploys:** increments deploy to check release process ([9b9b4f2](https://github.com/FusionAuth/fusionauth-node-cli/commit/9b9b4f201ecd92f456f60da378f45d57e5713a6e)) + +## [1.10.1-next.1](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.10.0...v1.10.1-next.1) (2026-11-23) + + +### Bug Fixes + +* adds workflow_dispatch to oldschool deploy ([7ef9499](https://github.com/FusionAuth/fusionauth-node-cli/commit/7ef94990f6a7253749397f5638b63ff64ef37ae4)) +* **deploys:** adds explicit name for modern semantic version package ([#69](https://github.com/FusionAuth/fusionauth-node-cli/issues/69)) ([dee9fdf](https://github.com/FusionAuth/fusionauth-node-cli/commit/dee9fdf6a1a8b703979ab161efeab0e1efb81678)) +* **deploys:** converts release merge to vanilla git ([#68](https://github.com/FusionAuth/fusionauth-node-cli/issues/68)) ([3f61415](https://github.com/FusionAuth/fusionauth-node-cli/commit/3f61415ff21720c63a0c14605fe99d6e3969c576)) +* **deploys:** modifies release branch to releases to match GitHub ([647820f](https://github.com/FusionAuth/fusionauth-node-cli/commit/647820fd117d8bccf36b9b50616a47d9c6fab5ce)) +* **deploys:** removes alpha branch from workflow yaml ([a919b9d](https://github.com/FusionAuth/fusionauth-node-cli/commit/a919b9da0e03a6146de0e6d437b6d156127a7769)) +* **deploys:** removes wildcard release to fix workflow errors ([3caf2af](https://github.com/FusionAuth/fusionauth-node-cli/commit/3caf2aff3e5df74ee7f1e35ff356bd489c0c0d14)) + +## [1.10.1-next.1](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.10.0...v1.10.1-next.1) (2026-11-23) + + +### Bug Fixes + +* adds workflow_dispatch to oldschool deploy ([7ef9499](https://github.com/FusionAuth/fusionauth-node-cli/commit/7ef94990f6a7253749397f5638b63ff64ef37ae4)) + ## [1.10.1-next.1](https://github.com/FusionAuth/fusionauth-node-cli/compare/v1.10.0...v1.10.1-next.1) (2026-11-20) diff --git a/release.config.cjs b/release.config.cjs index 477c946..13f399c 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -1,12 +1,10 @@ module.exports = { branches: [ - 'main', { - name: 'next', - prerelease: true + name: 'releases' }, { - name: 'next-setup', + name: 'next', prerelease: true } ], @@ -29,4 +27,4 @@ module.exports = { } ] ] -} \ No newline at end of file +}