Skip to content

Commit

Permalink
Merge pull request #3074 from emqx/dev/1.10.3
Browse files Browse the repository at this point in the history
Sync code from refs/heads/dev/1.10.3 to enterprise
  • Loading branch information
Kinplemelon authored Dec 4, 2024
2 parents ece85fa + 8e714ad commit 2455612
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,17 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.AUTH_APP_ID }}
private-key: ${{ secrets.AUTH_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}

- name: Create PR in emqx/emqx
env:
GH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN_EMQX_RW }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
EMQX_NAME: emqx
VERSION: ${{ github.ref_name }}
run: |
Expand All @@ -74,9 +82,17 @@ jobs:
if: (github.ref == 'refs/heads/enterprise') || startsWith(github.ref, 'refs/tags/e')
runs-on: ubuntu-latest
steps:
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.AUTH_APP_ID }}
private-key: ${{ secrets.AUTH_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}

- name: Create PR in emqx/emqx
env:
GH_TOKEN: ${{ secrets.CI_GITHUB_TOKEN_EMQX_RW }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
EMQX_NAME: emqx-enterprise
VERSION: ${{ github.ref_name }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/Gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default {
},
mountPointDesc: {
zh: `为客户端在 \`SUBSCRIBE\` 和 \`UNSUBSCRIBE\` 请求、\`PUBLISH\` 消息以及 Will Message(如果在 \`CONNECT\` 数据包中提供)中使用的主题添加静态或模板前缀(例如 \`n1/\` 或 \`{'$'}{'{'}username{'}'}/\`)。<br />
从发布到相应订阅的消息的主题中移除此前缀
从发布到相应订阅的消息的主题中将移除此前缀
支持的占位符包括:
- \`{'$'}{'{'}username{'}'}\`
Expand Down

0 comments on commit 2455612

Please sign in to comment.