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

automating releases with semantic version #218

Closed
6 tasks
JimmyLv opened this issue Jul 4, 2017 · 3 comments
Closed
6 tasks

automating releases with semantic version #218

JimmyLv opened this issue Jul 4, 2017 · 3 comments

Comments

@JimmyLv
Copy link
Owner

JimmyLv commented Jul 4, 2017

项目纵向拆分

JavaScript Tutorials and Video Workshops - @eggheadio #levelup

⓵ 定义目标和原则

⓶ 展望结果

⓷ 头脑风暴

⓸ 组织整理

⓹ 明确「下一步行动」

@JimmyLv
Copy link
Owner Author

JimmyLv commented Jul 13, 2017

share the two ways to simplify writing commit message following the semantic release convention:

  • Option 1: ‘npm run commit’ to answer the questions, as the 1nd picture below. (Tip: alias nc='git add . && npm run commit' in .bashrc)

  • Option 2: ‘Git Commit Template’ Intellij plugin to answer question in the popup window, download in here or just search ‘Git Commit Template’ in plugins settings.

  • *Option3: Just write message manually but following the convention below, detailed information in here:

     <type>(<scope>): <subject>
    <BLANK LINE>
    <body>
    <BLANK LINE>
    <footer>
    

Normally the finial message should be something like below so that we can benefit from the semantic release and generate the CHANGELOG.md automatically:

refactor(proptype): [DMP-1620][JimmyLv] - Refactored to use static class property syntax and changed the configuration prop type

  • ‘feat | fix’ can be used to decide the bump minor/patch version of NPM package, ‘refactor | ci …’, BREAKCHANGE in 4th question will bump the major version. ref: http://semver.org/
  • ‘[DMP-1620]’ can be linked to Jira card and it’s really good for reviewing code and find related code if any bugs when testing features.

This was referenced Jul 14, 2017
@JimmyLv
Copy link
Owner Author

JimmyLv commented Aug 20, 2018

参考 sharp-ui 的配置,集成CI

@JimmyLv JimmyLv added this to the 🏂2019 Q2 OKRs(4~6月) milestone May 23, 2019
@JimmyLv JimmyLv self-assigned this May 23, 2019
@JimmyLv
Copy link
Owner Author

JimmyLv commented May 23, 2019

@JimmyLv JimmyLv closed this as completed May 23, 2019
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

No branches or pull requests

1 participant