diff --git a/.github/workflows/initiate_release.yml b/.github/workflows/initiate_release.yml
index ec49fad7..8d529b47 100644
--- a/.github/workflows/initiate_release.yml
+++ b/.github/workflows/initiate_release.yml
@@ -46,9 +46,11 @@ jobs:
VERSION: ${{ github.event.inputs.version }}
run: |
npm run changelog
+ yarn run dist
git config --global user.name 'github-actions'
git config --global user.email 'release@getstream.io'
git checkout -q -b "release-$VERSION"
+ git add dist
git commit -am "chore(release): $VERSION"
git push -q -u origin "release-$VERSION"
diff --git a/README.md b/README.md
index 47f3ac6e..fee0542d 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,9 @@ or if you are using yarn
yarn add getstream
```
-### Using JS deliver
+### Using JS deliver (deprecated)
+
+> :warning: **Deprecated:** loading the UMD bundle with a `
@@ -66,7 +68,9 @@ yarn add getstream
```
-### Install by downloading the JS file
+### Install by downloading the JS file (deprecated)
+
+> :warning: **Deprecated:** see the note above, use the npm package instead.
[JS](https://raw.githubusercontent.com/GetStream/stream-js/main/dist/js/getstream.js) /
[Minified JS](https://raw.githubusercontent.com/GetStream/stream-js/main/dist/js_min/getstream.js)
diff --git a/dist/js/getstream.js b/dist/js/getstream.js
index 75f32393..1d30813e 100644
--- a/dist/js/getstream.js
+++ b/dist/js/getstream.js
@@ -1,3 +1,9 @@
+/*!
+ * getstream v8.15.0
+ * DEPRECATED: loading this UMD bundle via