googleapis / release-please-action

automated releases based on conventional commits
Apache License 2.0
1.56k stars 200 forks source link

add preid feature #971

Open poechiang opened 2 months ago

poechiang commented 2 months ago

TL;DR

Can you support --preid configuration items, such as "preid:alpha/beta/rc/..."? I want the tag created by release-please to have a suffix like alpha/beta/rc.

Detailed design

  - name: release-please
    uses: google-github-actions/release-please-action@v4
    id: release
    with:
      token: ${{ secrets.GITHUB_TOKEN }}
      target-branch: ${{ github.ref_name }}
      release-type: node
      prerelease: true
      prerelease-type: alpha # <--
      preid: true  # <-- add [alpha] to version tag

Additional information

No response