Skip to content

Commit

Permalink
only allow patch, minor, major. Comment traces of prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomás Ciccola committed Sep 11, 2024
1 parent 7e27b5a commit e205aff
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ on:
semver:
description: 'The semver to use'
required: true
default: 'prerelease'
default: 'patch'
type: choice
options:
# - auto
# - patch
# - minor
# - major
- prerelease
- patch
- minor
- major
# - prerelease
# - prepatch
# - preminor
# - premajor
Expand Down Expand Up @@ -53,10 +53,10 @@ jobs:
sync-semver-tags: true
access: 'public'
# This prefix is added before the prerelease number, e.g. `v3.0.0-alpha.0`
prerelease-prefix: 'alpha'
# prerelease-prefix: 'alpha'
semver: ${{ github.event.inputs.semver }}
# Prereleases are published under the `alpha` npm dist-tag
npm-tag: ${{ startsWith(github.event.inputs.semver, 'pre') && 'alpha' || 'latest' }}
# npm-tag: ${{ startsWith(github.event.inputs.semver, 'pre') && 'alpha' || 'latest' }}
# Don't notify linked issues
notify-linked-issues: false
# optional: set this secret in your repo config for publishing to NPM
Expand Down

0 comments on commit e205aff

Please sign in to comment.