diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f463e3fe9..15ad1928a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,16 +26,6 @@ jobs: - name: Install coscmd run: sudo pip3 install coscmd - # - name: Debug Query - # if: matrix.platform == 'macos-11' - # run: | - # ls -l /Library/Frameworks/Python.framework/Versions/2.7/bin/ - - # - name: Setup coscmd - # if: matrix.platform == 'macos-11' - # run: | - # ln -s /Library/Frameworks/Python.framework/Versions/2.7/bin/coscmd /usr/bin/coscmd - - name: Setup Cache uses: actions/cache@v2 with: @@ -114,7 +104,7 @@ jobs: run: | make artifacts-macos - - name: Configure COS CMD + - name: Configure COS For Silicon Valley env: SECRET_ID: ${{ secrets.COS_ID }} SECRET_KEY: ${{ secrets.COS_KEY }} @@ -123,10 +113,19 @@ jobs: run: | coscmd config -a $SECRET_ID -s $SECRET_KEY -b $BUCKET -r $REGION - - name: Debug Query + - name: Push To Silicon Valley + run: | + for file in ./dist/release/*; do coscmd upload $file /archives/; done; + + - name: Configure COS For Beijing + env: + SECRET_ID: ${{ secrets.COS_ID }} + SECRET_KEY: ${{ secrets.COS_KEY }} + BUCKET: release-bj-1252011659 + REGION: ap-beijing run: | - ls -l ./dist/release/ + coscmd config -a $SECRET_ID -s $SECRET_KEY -b $BUCKET -r $REGION - - name: Upload To SV + - name: Push To Beijing run: | - for file in ./dist/release/*; do coscmd -d upload $file /archives/; done; + for file in ./dist/release/*; do coscmd upload $file /archives/; done; diff --git a/share/const.go b/share/const.go index d5111fbf0e..f08fff1a37 100644 --- a/share/const.go +++ b/share/const.go @@ -4,7 +4,7 @@ package share // session -> freeport fix bug // 更新制品目录 -> ui/downloads // Arm64 制品 -> arm build test -// MacOS 制品 -> debug 17 +// MacOS 制品 -> debug 18 // VERSION 版本号 const VERSION = "0.9.1"