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

Semantic versioning on prod deployment and CHANGELOG creation #4

Open
whvneo opened this issue Jun 30, 2020 · 1 comment
Open

Semantic versioning on prod deployment and CHANGELOG creation #4

whvneo opened this issue Jun 30, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@whvneo
Copy link

whvneo commented Jun 30, 2020

Is your feature request related to a problem? Please describe.
Not a problem

Describe the solution you'd like
I would like to have meaningful version when deploying to prod
The prod deployment should check if it is a patch, minor or major release and automatically increase the version number in the GIT repo.
Check https://docs.npmjs.com/about-semantic-versioning for further information

Describe alternatives you've considered
Using JIRA Ticket numer could be an option but does not indicate the version itself

Additional context
A file CHANGELOG.md should also be created after deployment.
The process should be as follows:

  1. Try to build
  2. If build succeeded, bump version according to type of deployment (patch, minor, release)
  3. Create CHANGELOG.md
  4. Tag current version with version number
  5. commit and push changes to version, tag and CHANGELOG.md

The version could be tracked in a package.json as it commonly used in several open source projects

@culmat
Copy link
Member

culmat commented Jun 30, 2020

Hi Andreas,

to me this seems to be out of scope of the maven plugin.
I recommend using an existing tooling like semantic-release

@culmat culmat added the enhancement New feature or request label Oct 19, 2020
@culmat culmat changed the title [FEATURE] Semantic versioning on prod deployment and CHANGELOG creation Semantic versioning on prod deployment and CHANGELOG creation Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants