Skip to content

Commit

Permalink
chore: add prerelease w/wo bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Dec 11, 2023
1 parent 51b5355 commit 3e131e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-npm-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- preminor
- premajor
- prerelease
- n/a
- auto
tag:
type: choice
description: Tag
Expand Down Expand Up @@ -90,8 +90,8 @@ jobs:
packages/common/dist
retention-days: 5

- name: 🧪 Lerna Version no bump (dry-run) 🏷️
if: ${{ inputs.dryrun == true }} && ${{ inputs.bump == 'n/a' }}
- name: 🧪 Lerna Version auto-bump (dry-run) 🏷️
if: ${{ inputs.dryrun == true && inputs.bump == 'auto' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -102,8 +102,8 @@ jobs:
pnpm whoami
pnpm exec lerna version --conventional-commits --conventional-prerelease --dry-run --preid ${{ inputs.tag }} --force-publish --yes
- name: 🧪 Lerna Version with pre-bump (dry-run) 🏷️
if: ${{ inputs.dryrun == true }} && ${{ inputs.bump != 'n/a' }}
- name: 🧪 Lerna Version with chosen pre-bump (dry-run) 🏷️
if: ${{ inputs.dryrun == true && inputs.bump != 'auto' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 3e131e2

Please sign in to comment.