From 6c343863583607e77bee73a5b189ff1ed3091abc Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Thu, 17 Aug 2023 10:47:31 +0800 Subject: [PATCH] service menu --- .github/workflows/upload_artifact.yml | 10 +++++----- .github/workflows/upload_test_artifact.yml | 10 +++++----- CHANGELOG.md | 4 ++++ changelog_latest.md | 2 +- version.json | 4 ++-- 5 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/upload_artifact.yml b/.github/workflows/upload_artifact.yml index a81e007e..7ec568dd 100644 --- a/.github/workflows/upload_artifact.yml +++ b/.github/workflows/upload_artifact.yml @@ -17,17 +17,15 @@ jobs: name: Check out code - name: Read release mode + id: check_release run: | release=$(jq -r '.RELEASE' version.json) echo $release - exit 1 - if [$release == "dev"]; then - echo "dev, exit" - exit 1 - fi + echo "::set-output name=release::$release" - name: Read Plugin Version id: update_data + if: ${{ steps.check_release.outputs.release != 'dev' }} run: | version=$(jq -r '.VERSION' version.json) echo version=$version @@ -55,6 +53,7 @@ jobs: - name: Upload To Azure Blob uses: LanceMcCarthy/Action-AzureBlobUpload@v2 + if: ${{ steps.check_release.outputs.release != 'dev' }} with: connection_string: ${{ secrets.AZURE_STORAGE_ARTIFACT }} container_name: release @@ -65,6 +64,7 @@ jobs: - name: Create Release id: create_release + if: ${{ steps.check_release.outputs.release != 'dev' }} uses: softprops/action-gh-release@v1 with: files: /* diff --git a/.github/workflows/upload_test_artifact.yml b/.github/workflows/upload_test_artifact.yml index fd2615a4..27bd3cb9 100644 --- a/.github/workflows/upload_test_artifact.yml +++ b/.github/workflows/upload_test_artifact.yml @@ -17,17 +17,15 @@ jobs: name: Check out code - name: Read release mode + id: check_release run: | release=$(jq -r '.RELEASE' version.json) echo $release - exit 1 - if [$release == "prodution"]; then - echo "prodution, exit" - exit 1 - fi + echo "::set-output name=release::$release" - name: Read Plugin Version id: update_data + if: ${{ steps.check_release.outputs.release == 'dev' }} run: | version=$(jq -r '.VERSION' version.json) echo version=$version @@ -54,6 +52,7 @@ jobs: cp artifacts/websoft9-$version.zip artifacts/websoft9-latest.zip - name: Upload To Azure Blob + if: ${{ steps.check_release.outputs.release == 'dev' }} uses: LanceMcCarthy/Action-AzureBlobUpload@v2 with: connection_string: ${{ secrets.AZURE_STORAGE_ARTIFACT }} @@ -64,6 +63,7 @@ jobs: fail_if_source_empty: true - name: Create Release + if: ${{ steps.check_release.outputs.release == 'dev' }} id: create_release uses: softprops/action-gh-release@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index ff5a2ce5..2547801b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.8.15 release on 2023-08-17 + +1. service menu bug + ## 0.8.14 release on 2023-08-16 1. myapps plugins refresh bug diff --git a/changelog_latest.md b/changelog_latest.md index 7b351cbe..1b9dcf37 100644 --- a/changelog_latest.md +++ b/changelog_latest.md @@ -1 +1 @@ -1. myapps plugins refresh bug +1. service menu bug diff --git a/version.json b/version.json index 3029dd8b..01fa2ab3 100644 --- a/version.json +++ b/version.json @@ -43,6 +43,6 @@ "18.04" ] }, - "RELEASE": "production", - "VERSION": "0.8.14" + "RELEASE": "dev", + "VERSION": "0.8.15" } \ No newline at end of file