Skip to content

Conversation

@compulim
Copy link
Owner

@compulim compulim commented Aug 12, 2019

Fix #2.

Description

Today, we do not allow developers to set their own pre-release version template.

Tomorrow, we will support through:

  • If --template is not specified, will default to branch.short, which could be master.1a2b3c4
  • If --template is specified
    • --template branch+short could be master+1a2b3c4
    • --template short could be 1a2b3c4

Copied from README.md

Pattern name Description Sample
branch Branch name
In Travis, will use process.env.TRAVIS_BRANCH
master
long Git commit in long form 3807f9004867438c57a3e26f2073c33c458d4ef9
short Git commit in short form 3807f90

Changelog

Added

  • Fix #2. Supports customizing pre-release thru --template, in PR #3

@compulim compulim merged commit 2d012f5 into master Aug 12, 2019
@compulim compulim deleted the fix-2 branch August 12, 2019 19:47
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.

Allow Git branch name to be optional

4 participants