From 6169c68f98c140eacbf0351b6d87c3571b587d57 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 25 Jul 2023 13:36:50 +0800 Subject: [PATCH] os_support --- .github/workflows/upload_artifact.yml | 18 ++++++++++++++++++ version.json | 8 +++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upload_artifact.yml b/.github/workflows/upload_artifact.yml index 6924f235..8b9708a8 100644 --- a/.github/workflows/upload_artifact.yml +++ b/.github/workflows/upload_artifact.yml @@ -21,6 +21,8 @@ jobs: version=$(jq -r '.VERSION' version.json) echo version=$version echo "VERSION=$version" >> $GITHUB_ENV + changelog=$(cat changelog_latest.md) + echo "CHANGELOG=$changelog" >> $GITHUB_ENV mkdir websoft9 artifacts cp -r docker websoft9 cp -r cockpit websoft9 @@ -41,3 +43,19 @@ jobs: destination_folder: ./websoft9 delete_if_exists: true fail_if_source_empty: true + + - name: Create Release + id: create_release + uses: softprops/action-gh-release@v1 + with: + files: appstore/* + tag_name: ${{ env.PLUGIN_VERSION }} + title: Release-${{ env.PLUGIN_VERSION }} + body: ${{ env.CHANGELOG }} + draft: false + prerelease: true + + - name: Commit and push changes + uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: Push to github main diff --git a/version.json b/version.json index e1ba4299..350c9fb5 100644 --- a/version.json +++ b/version.json @@ -16,7 +16,9 @@ "OS_SUPPORT": { "CentOS": [ "7", - "8", + "8" + ], + "CentOS Stream": [ "9" ], "Ubuntu": [ @@ -30,5 +32,5 @@ "9" ] }, - "VERSION": "0.8.2" -} + "VERSION": "0.8.3" +} \ No newline at end of file