From 938ef0885d958e5821ebc4b1ee7577f3431c9d4d Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 25 Jan 2023 14:57:14 +0000 Subject: [PATCH] chore(ci): add preid support --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be812725ca..9472f156e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,14 @@ on: - next - v5-lts - v4-lts + preid: + type: choice + description: Which prerelease identifier should be used? This is only needed when version is "prepatch", "preminor", or "premajor". + options: + - alpha + - beta + - rc + - next jobs: release-ionic: @@ -52,7 +60,7 @@ jobs: git config user.email hi@ionicframework.com shell: bash - name: Create GitHub Release - run: lerna version ${{ inputs.version }} --yes --force-publish='*' --conventional-commits --create-release github + run: lerna version ${{ inputs.version }} --yes --force-publish='*' --conventional-commits --create-release github --preid=${{ inputs.preid }} env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash