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

Automatically version and publish CanJS and its release notes #5482

Open
phillipskevin opened this issue Apr 17, 2020 · 0 comments
Open

Automatically version and publish CanJS and its release notes #5482

phillipskevin opened this issue Apr 17, 2020 · 0 comments

Comments

@phillipskevin
Copy link
Collaborator

When changes are merged to master, I would like to:

In order to accomplish this, write a Node script that:

  • use git to check changes to dependencies (this is already done in the release notes script)
  • compare dependency against list of “API changing packages” (in CanJS, these would be the core and infrastructure packages)
  • increment the package.json version
    • major: any major changes in the “API changing packages”
    • minor: any minor changes in the “API changing packages”, any added dependencies
    • patch: anything else
  • update version and publish canjs/canjs
  • run generate-release-notes script
  • publish new release in GItHub

Once this is working, we can run this script conditionally in Travis when merges are made to master.

Non-functional requirements

  • GitHub APIs should be abstracted from main script
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