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

feat: add release-it in workflow #70

Closed
wants to merge 1 commit into from
Closed

feat: add release-it in workflow #70

wants to merge 1 commit into from

Conversation

asrvd
Copy link
Member

@asrvd asrvd commented Jun 28, 2022

this pr adds release-it for auto releasing the package to github and npm.

things you need to do to make it work @nexxeln

  1. generate a github access token with repo scope.
  2. create a env file and follow the content of .env.example file i have added in the commit https://github.com/asheeeshh/create-t3-app/blob/dev/.env.example.
  3. whenever you want to release a new version, run pnpm run release on terminal and proceed with yes for each prompt. It will automatically release the version on github and npm for you.

ps: it auto increments the version in pkg json so make sure you don't increment it yourself.

moreover, i don't think its interfering with the change set we are maintaining, i would still like to have @MWhite-22 's thoughts on this before you merge the pr.

image

image

@MWhite-22
Copy link
Member

So I think, rather than adding in a package to do this, a GitHub action (as implemented in #66) is the more imperative way of releasing updates.

Ultimately the decision lies with @nexxeln though.

@asrvd
Copy link
Member Author

asrvd commented Jun 29, 2022

what nexxeln wanted was "to be able to automate releasing versions on github", is there any way we can achieve that through actions? 🤔

This pull request was closed.
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 this pull request may close these issues.

None yet

2 participants