storyblok / field-plugin

Create and deploy Storyblok Field Plugin
https://www.storyblok.com/docs/plugins/field-plugins/introduction
25 stars 3 forks source link

fix(common): update release script to allow rc release #276

Closed eunjae-lee closed 11 months ago

eunjae-lee commented 11 months ago

What?

This PR updates the release script to allow rc releases. It's been attaching --tag beta to npm publish command manually, and I've added a new script to dynamically infer the release type (latest, alpha, beta, ...) according to the version from package.json.


For reference,

semver.prerelease('1.2.3-alpha.1') -> ['alpha', 1]

semver.prerelease('1.2.3') -> null

Why?

JIRA: EXT-2011

How to test? (optional)

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plugin-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 12, 2023 8:49am