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

[AC-1856] Add publish automation workflows #138

Merged
merged 8 commits into from
Apr 8, 2024
Merged

Conversation

AhyoungRyu
Copy link
Collaborator

@AhyoungRyu AhyoungRyu commented Apr 1, 2024

I added a new workflow to automate our release process. But note that some steps should be done manually since we need to get an approval.

Steps need to be done manually

  1. Create a new release tag release/v${version} and push a commit to create a release PR.
  2. Run /bot create ticket to generate a ticket and push a notification via Slack channel.
  3. Go to Actions tab and fill the target release branch name(release/v${version}) in the input box.

New steps will be done automatically by Github Actions

Before running the workflow, verifies the existence of the release branch namedin the remote repository. If the branch does not exist, the workflow will halt and prompt to create the branch and a Jira ticket with the pr-comment-bot.

  1. Build chat-ai-widget module: runs npm run build:npm to build the package.
  2. Publishing: Publishes the package to npm. If an npm_tag is provided through the workflow dispatch inputs, it uses this tag for the release.
  3. CHANGELOG Generation
  4. Dependency Update in packages/*: Automatically updates the @sendbird/chat-ai-widget version to latest. All the change will be pushed to the PR that we made manually.
  5. Tagging and Pushing: after this step, self-service & url-webdemo(docs bot) script will be generated by CircleCI. Then these are should be done manually again.

@AhyoungRyu AhyoungRyu self-assigned this Apr 1, 2024
@AhyoungRyu AhyoungRyu force-pushed the feat/AC-1856 branch 3 times, most recently from ff168ac to 505c06f Compare April 2, 2024 03:41
@AhyoungRyu AhyoungRyu force-pushed the feat/AC-1856 branch 17 times, most recently from 6c1d0d3 to 6b54d0e Compare April 3, 2024 06:48
@AhyoungRyu
Copy link
Collaborator Author

release-guide.md & script-publish.md also need to be updated. I'll update them once I address all the feedbacks :)

Copy link
Contributor

@liamcho liamcho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice automation!

@AhyoungRyu AhyoungRyu merged commit 154fba3 into develop Apr 8, 2024
@AhyoungRyu AhyoungRyu deleted the feat/AC-1856 branch April 8, 2024 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants