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

release: 1.0.1 #10

Merged
merged 1 commit into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## [v1.0.1] (July 18 2023)
1. Ported some recent changes from the web-demo repository:
- [791e390](https://github.com/sendbird/ai-bot-url-webdemo/commit/791e390c7cc1cd70cf9d1b1e48e6c45c59ae58cb)
- [38425cd](https://github.com/sendbird/ai-bot-url-webdemo/commit/38425cd0898a410fac69a11325d67a6a035f37aa)
- [729a40a](https://github.com/sendbird/ai-bot-url-webdemo/commit/729a40a92904a24ecdd569f9aa3a3aebef52892d)
2. The connection will not be established until a user sends the first message to the chat AI widget.
3. Added userNickname prop to provide a distinctive name along with botName.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sendbird/chat-ai-widget",
"version": "1.0.0",
"version": "1.0.1",
"description": "Sendbird Chat AI Widget,\n Detailed documentation can be found at https://github.com/sendbird/chat-ai-widget#readme",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
Expand Down
19 changes: 19 additions & 0 deletions release-guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Release Steps
luke-cha marked this conversation as resolved.
Show resolved Hide resolved

## Step 0 - Setup
1. Create a new branch for the release: e.g. `git checkout -b release/{X.X.X}`
2. Write/Generate changelog in CHANGELOG.md
3. Commit all changes, push to remote

## Step 1 - Release Candidate
1. Update the version in `package.json`: e.g. `version: {version}-rc-0` (increase the number if it's necessary)
2. Run `npm run build` under the root directory
3. Run `npm publish --tag rc`
4. Test the RC version in your project(s) e.g. [CodeSandbox Sample](https://codesandbox.io/s/broken-glitter-6sjw6l?file=/src/App.tsx)
5. If everything is fine, go to Step 2. Otherwise make changes to main branch, rebase and repeat Step 1

## Step 2 - Actual release
10. Commit all changes
11. Update the version in `package.json` to the new real release version: Run `npm version patch/minor/major`
12. Run `npm run build`
13. Run `npm publish -access=public`
Loading