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

CI/CD #103

Closed
2 tasks
alvarosabu opened this issue Feb 13, 2023 · 1 comment · Fixed by #159
Closed
2 tasks

CI/CD #103

alvarosabu opened this issue Feb 13, 2023 · 1 comment · Fixed by #159
Assignees

Comments

@alvarosabu
Copy link
Member

alvarosabu commented Feb 13, 2023

The idea of this discussion is to figure out a proper CI/CD and release management before going public

Current

Atm, I'm doing all the bumping of versions, changelogs, and releases manually, which is not maintainable in time and slows done quick delivery.

The current workflow is:

  1. Change is made on @tresjs/core.
  2. Commit: feat(core): whatever
  3. PR and merge to main
  4. Release branch is created release/core-1.x.0 since a feat with no breaking changes is a minor release
  5. Version is bumped on core's package.json
  6. Versions of core are updated manuallty on each of the other packages ` "@tresjs/core": "workspace:^1.x.0",
  7. Changelog is created with conventional-changelog -p angular -i CHANGELOG.md -s ⚠️ The problem with this one is that always add all of the commits since the beginning, so I have to manually delete all the ones that are not going to release
  8. Changes are commited and push
  9. PR is checked and merged into main
  10. pnpm build:ci && git status && pnpm publish:pkgs
  11. git tag is created manually like this git tag -a @tresjs/core@1.6.3 -m "Release @tresjs/core@1.6.3"

Solution

The monorepo will be divided in several repos here #150, when that's done we can

  • Apply release-it to core
  • Apply release-it to cientos
@alvarosabu
Copy link
Member Author

@alvarosabu alvarosabu self-assigned this Feb 14, 2023
@alvarosabu alvarosabu added this to the Open Source milestone Feb 14, 2023
@alvarosabu alvarosabu pinned this issue Feb 15, 2023
@alvarosabu alvarosabu unpinned this issue Mar 10, 2023
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.

3 participants