Skip to content

Commit

Permalink
chore(build, ci): add CN version instead of ekuiper version
Browse files Browse the repository at this point in the history
  • Loading branch information
orangegzx committed Jun 15, 2023
1 parent 914e0e8 commit 7689c07
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,24 +53,24 @@ jobs:
asset_path: ./neuron-dashboard.zip
asset_name: neuron-dashboard.zip
asset_content_type: application/zip
- name: build-lite
- name: build-CN
run: |
yarn
yarn build:norules
- name: create lite package
yarn build:CN
- name: create CN package
run: |
touch dist/version
echo "github_ref: $GITHUB_REF" >> dist/version
echo "github_sha: $GITHUB_SHA" >> dist/version
zip -rq neuron-dashboard-lite.zip ./dist
- name: Upload Lite Release Asset
zip -rq neuron-dashboard-CN.zip ./dist
- name: Upload CN Release Asset
if: startsWith(github.ref, 'refs/tags/')
id: upload-lite-release-asset
id: upload-CN-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./neuron-dashboard-lite.zip
asset_name: neuron-dashboard-lite.zip
asset_path: ./neuron-dashboard-CN.zip
asset_name: neuron-dashboard-CN.zip
asset_content_type: application/zip
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
"scripts": {
"serve": "vue-cli-service serve",
"dev:pc": "export VUE_APP_HOST=http://localhost:7003 && yarn serve",
"dev:norules": "export VUE_APP_HOST=http://localhost:7003 && export VUE_APP_SHOW_EKUIPER=false && yarn serve",
"dev:server": "export VUE_APP_HOST=ws://iot-platform.cloud:6170 && yarn serve",
"dev:test": "export VUE_APP_HOST=http://124.70.166.104:7000 && yarn serve",
"dev:multiLang": "export VUE_APP_HOST=http://124.70.166.104:7000 && export VUE_APP_MULTI_LANG=true && yarn serve",
"dev:CN": "export VUE_APP_HOST=http://124.70.166.104:7000 && export VUE_APP_MULTI_LANG=true && yarn serve",
"build": "vue-cli-service build",
"build:norules": "VUE_APP_SHOW_EKUIPER=false vue-cli-service build",
"build:multiLang": "VUE_APP_MULTI_LANG=true vue-cli-service build",
"build:CN": "VUE_APP_MULTI_LANG=true vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
Expand Down

0 comments on commit 7689c07

Please sign in to comment.