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

Prereleases Versions on NPM #62

Closed
boeckMt opened this issue Jan 27, 2021 · 3 comments
Closed

Prereleases Versions on NPM #62

boeckMt opened this issue Jan 27, 2021 · 3 comments
Labels
enhancement feat: (New feature or request)

Comments

@boeckMt
Copy link
Member

boeckMt commented Jan 27, 2021

Description

In our current workflow, it can take quite a long time until a new version is published.
Sometimes people need Stuff which is already in the master but we don't have created a new version for it.


Our current workflow to create a new version is described in DEVELOPMENT.md

In short:

  1. If the master passes all tests and the build works without errors
  2. We create a pull request with a release-<version> branch including
  3. If the pull request is merged, push the tag (created from npm version)
  4. The tag triggers the github actions Node.js Package

Relevant Package

This feature request is for @dlr-eoc/....

  • all @dlr-eoc/

Examples

Prereleases Versions:

Semver uses something like

alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1

We could try to allow pushing tags without the pull request procedure which are in a form like vX.X.X-<identifier>
Angular e.g. uses something like

11.1.0-next.0 < 11.1.0-next.3 < 11.1.0-rc.0 < 11.1.0

A 'Next' Version

Furthermore we could tag all this prereleases versions with npm --tag next.

Maybe we can accomplish this all with

@boeckMt boeckMt added the enhancement feat: (New feature or request) label Jan 27, 2021
@boeckMt
Copy link
Member Author

boeckMt commented Jan 27, 2021

@voinSR and @MichaelLangbein what are you thinking about this?

@voinSR
Copy link
Collaborator

voinSR commented Jan 28, 2021

@boeckMt i think this would be really pragmatic solution. We have already discussed it, frequently we implement some new features during the sprint and then some of our client applications depend on them. Setting the client application to be dependend on master branch may lead to potential problems due to some unexpected updates and breaking changes within the master branch.

@MichaelLangbein
Copy link
Collaborator

@boeckMt , @voinSR : completely agree! That would be a really useful thing to have. Releasing a next version shortly before a sprint, for example, would likely mean a lot less effort than a full release. Very pragmatic!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feat: (New feature or request)
Projects
None yet
Development

No branches or pull requests

3 participants