@lobehub/chat 0.86.0-beta.3 → 0.86.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,9 +9,6 @@ jobs:
9
9
  release:
10
10
  name: Release
11
11
  runs-on: ubuntu-latest
12
- outputs:
13
- # 将 semantic 输出的值作为下一环节的输入
14
- is_new_version: ${{ steps.semantic.outputs.new_release_published }} # ! MUST BE STRING
15
12
  steps:
16
13
  - uses: actions/checkout@v4
17
14
 
@@ -28,45 +25,9 @@ jobs:
28
25
  run: bun run test
29
26
 
30
27
  - name: release
31
- id: semantic
32
28
  run: bun run release
33
29
  env:
34
30
  GH_TOKEN: ${{ secrets.GH_TOKEN }}
35
31
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
36
-
37
- docker:
38
- needs: [release]
39
- name: Build Docker Image
40
- runs-on: ubuntu-latest
41
- if: needs.release.outputs.is_new_version == 'true'
42
- steps:
43
- - uses: actions/checkout@v2
44
- - name: Set up QEMU
45
- uses: docker/setup-qemu-action@v1
46
- - name: Set up Docker Buildx
47
- id: buildx
48
- uses: docker/setup-buildx-action@v1
49
- - name: Login to Docker Hub
50
- uses: docker/login-action@v1
51
- with:
52
- username: ${{ secrets.DOCKER_REGISTRY_USER }}
53
- password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
54
-
55
- - name: Docker meta
56
- id: meta
57
- uses: docker/metadata-action@v3
58
- with:
59
- images: lobe-chat
60
- tags: |
61
- type=ref,event=branch
62
- type=semver,pattern={{version}}
63
- type=semver,pattern={{major}}.{{minor}}
64
- type=semver,pattern={{major}}
65
- type=sha
66
- - name: Build and push
67
- uses: docker/build-push-action@v2
68
- with:
69
- context: .
70
- platforms: linux/amd64,linux/arm64
71
- push: true
72
- tags: ${{ steps.meta.outputs.tags }}
32
+ DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
33
+ DOCKER_REGISTRY_USER: ${{ secrets.DOCKER_REGISTRY_USER }}
package/.releaserc.js CHANGED
@@ -4,11 +4,11 @@ module.exports = {
4
4
  ...release,
5
5
  plugins: [
6
6
  ...release.plugins,
7
- // [
8
- // '@codedependant/semantic-release-docker',
9
- // {
10
- // dockerImage: 'lobe-chat',
11
- // },
12
- // ],
7
+ [
8
+ '@codedependant/semantic-release-docker',
9
+ {
10
+ dockerImage: 'lobe-chat',
11
+ },
12
+ ],
13
13
  ],
14
14
  };
package/CHANGELOG.md CHANGED
@@ -2,6 +2,48 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [Version 0.86.0-beta.5](https://github.com/lobehub/lobe-chat/compare/v0.86.0-beta.4...v0.86.0-beta.5)
6
+
7
+ <sup>Released on **2023-10-10**</sup>
8
+
9
+ #### ✨ Features
10
+
11
+ - **misc**: Add default ACCESS_CODE=lobe66.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's improved
19
+
20
+ - **misc**: Add default ACCESS_CODE=lobe66 ([3ebec4a](https://github.com/lobehub/lobe-chat/commit/3ebec4a))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
30
+ ## [Version 0.86.0-beta.4](https://github.com/lobehub/lobe-chat/compare/v0.86.0-beta.3...v0.86.0-beta.4)
31
+
32
+ <sup>Released on **2023-10-10**</sup>
33
+
34
+ <br/>
35
+
36
+ <details>
37
+ <summary><kbd>Improvements and Fixes</kbd></summary>
38
+
39
+ </details>
40
+
41
+ <div align="right">
42
+
43
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
44
+
45
+ </div>
46
+
5
47
  ## [Version 0.86.0-beta.3](https://github.com/lobehub/lobe-chat/compare/v0.86.0-beta.2...v0.86.0-beta.3)
6
48
 
7
49
  <sup>Released on **2023-10-10**</sup>
package/Dockerfile CHANGED
@@ -44,4 +44,6 @@ EXPOSE 3000
44
44
  # set hostname to localhost
45
45
  ENV HOSTNAME "0.0.0.0"
46
46
 
47
+ ENV ACCESS_CODE "lobe66"
48
+
47
49
  CMD ["node", "server.js"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.86.0-beta.3",
3
+ "version": "0.86.0-beta.5",
4
4
  "description": "An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application",
5
5
  "keywords": [
6
6
  "chatbot",