diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11a5850..6ca8e05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ permissions: jobs: release: - uses: AntelopeJS/.github/.github/workflows/release-npm-public.yml@e541e89701f1aac3cdf6424b8ab832aa7443da86 + uses: AntelopeJS/.github/.github/workflows/release-npm-public.yml@f4ce81591d09d271a480fd796e12a725cc973e0f with: channel: ${{ inputs.channel }} secrets: diff --git a/.release-it.json b/.release-it.json index 7365938..a7604b6 100644 --- a/.release-it.json +++ b/.release-it.json @@ -2,7 +2,6 @@ "git": { "commitMessage": "chore(release): v${version}", "tagName": "v${version}", - "requireBranch": "main", "requireCommits": true }, "github": { diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3c9167c..fedf4dd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,3 +40,11 @@ Pull requests should: Maintainers may ask for changes before merging. AntelopeJS repositories normally squash pull requests, so the pull request title becomes the commit on the default branch. + +## Releases + +Maintainers publish from GitHub Actions. Stable releases (`latest`) come from +the default branch and prereleases (`next`) come from a branch named `next`. +See the organization-wide +[release channels](https://github.com/AntelopeJS/.github/blob/main/CONTRIBUTING.md#release-channels) +guide for the full workflow.