Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Publishing Process #2

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Improved Publishing Process #2

merged 1 commit into from
Aug 14, 2024

Conversation

mikalai-snap
Copy link
Collaborator

Pre-release: If the Git tag matches v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+ (e.g., v1.0.0-alpha.1), the version is taken from the tag, and the package is published as a pre-release.
Stable Release: If the Git tag matches v[0-9]+.[0-9]+.[0-9]+ (e.g., v1.0.0), the version is taken from package.json and published as the latest stable version.

- when git tag contains version with alpha substring, then the package is built as pre-release one and its version is read from the tag itself
- when git tag contains version with no alpha, then the version is read from package.json and it is published as latest
@mikalai-snap mikalai-snap requested a review from kburov-sc August 13, 2024 18:53
Copy link
Collaborator

@kburov-sc kburov-sc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mikalai-snap mikalai-snap merged commit 818bb29 into main Aug 14, 2024
1 check passed
@mikalai-snap mikalai-snap deleted the ms/update-publish branch August 14, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants