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

workflows: release script #37

Closed
mathe42 opened this issue Sep 20, 2022 · 1 comment · Fixed by #38
Closed

workflows: release script #37

mathe42 opened this issue Sep 20, 2022 · 1 comment · Fixed by #38

Comments

@mathe42
Copy link
Contributor

mathe42 commented Sep 20, 2022

@tobiemh asked if we can have a automatic npm publish script when a new tag is pushed. (see #24 (comment))

This issue is to discuss this. There are 2 options:

  1. Only have run npm publish on new tag
  2. Have a full worflow described as below for it.

You would trigger it manualy like in grafik
grafik

You choose what type of release you want and klick "run". The action will do (in this order):

  1. Calculate new version (depending if this is a major, minor or patch)
  2. Update package.json and commit
  3. Install npm dependencies
  4. Run npm run build
  5. Run npm run publish
  6. Add a tag with calculated version and push version
@tobiemh
Copy link
Member

tobiemh commented Sep 20, 2022

I would say, no need for the workflow. Just the simple npm publish when a new tag for the moment.

Either way the process of creating a new version is manual, but would be great to get the publishing to NPM (Deno is automatic already obviously) through the API.

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 a pull request may close this issue.

2 participants