Skip to content

Commit

Permalink
Merge pull request #10 from sendbird/release/1.0.1
Browse files Browse the repository at this point in the history
release: 1.0.1
  • Loading branch information
AhyoungRyu authored Jul 18, 2023
2 parents a818831 + 82035b3 commit 2e2d66e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
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

## 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`

0 comments on commit 2e2d66e

Please sign in to comment.