diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1390787c0c..86ab69041f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,4 +35,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_NPM_TOKEN }} - run: npx semantic-release@22 + run: npx semantic-release@22 --dry-run diff --git a/.releaserc b/.releaserc index 2c101b5028..adf6f9c63c 100644 --- a/.releaserc +++ b/.releaserc @@ -1,5 +1,9 @@ { - "branches": ["master", "next"], + "branches": [ + { "name": "release-22.x", "range": "22.x", "channel": "22.x" }, + { "name": "release-23.x", "range": "23.x" }, + { "name": "next", "prerelease": true, "channel": "next" } + ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", diff --git a/package.json b/package.json index 9be7168e6b..0289784d0f 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "stylelint": "stylelint \"src/**/*.scss\" \"scss/**/*.scss\" \"www/src/**/*.scss\" --config .stylelintrc.json", "lint": "npm run stylelint && eslint --ext .js --ext .jsx --ext .ts --ext .tsx . && npm run lint --workspaces --if-present", "prepublishOnly": "npm run build", - "semantic-release": "semantic-release", + "semantic-release": "semantic-release --dry-run", "snapshot": "jest --updateSnapshot", "start": "npm start --workspace=www", "test": "jest --coverage",