diff --git a/.github/release-please/config.json b/.github/release-please/config.json index b29a6d47e7..2cb530b523 100644 --- a/.github/release-please/config.json +++ b/.github/release-please/config.json @@ -3,9 +3,6 @@ "release-type": "node", "include-component-in-tag": false, - "prerelease": true, - "versioning": "prerelease", - "changelog-sections": [ { "type": "feat", "section": "🌟 Features", "hidden": false }, { "type": "fix", "section": "🩹 Fixes", "hidden": false }, diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 8d26072f75..7aa6e00d4e 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -63,8 +63,10 @@ jobs: run: | if [[ "$VERSION" == *-alpha* ]]; then echo "tag=alpha" >> "$GITHUB_OUTPUT" - else + elif [[ "$VERSION" == *-* ]]; then echo "tag=next" >> "$GITHUB_OUTPUT" + else + echo "tag=latest" >> "$GITHUB_OUTPUT" fi - run: npm publish --provenance --access public --tag=${{ steps.dist_tag.outputs.tag }}