Skip to content

Support pre* options in --cd-version with optional --preid meta suffix - #958

Closed
Hypnosphi wants to merge 1 commit into
lerna:masterfrom
JetBrains:master
Closed

Hypnosphi wants to merge 1 commit into
lerna:masterfrom
JetBrains:master

Conversation

@Hypnosphi

Copy link
Copy Markdown
Contributor

Description

prerelease | prepatch | preminor | premajor options were added to --cd-version flag. --preid flag was added (used as semver.inc's third argument).

Motivation and Context

Fixes #567

How Has This Been Tested?

See changes in tests

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@evocateur evocateur left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I appreciate the contribution, would you mind reviewing #960 and see if it covers what you're going for?

I like --preid for the option, and your generation of the cdVersion option values is pretty slick!

@Hypnosphi

Copy link
Copy Markdown
Contributor Author

That's good, and it covers greater scope, so I'll close this in favor of commenting there

@Hypnosphi Hypnosphi closed this Aug 10, 2017
@evocateur

Copy link
Copy Markdown
Member

Thanks!

@lock

lock Bot commented Dec 27, 2018

Copy link
Copy Markdown

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Dec 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

force publish for prereleased packages

2 participants