From 2f3595b5ceb593328350eb10d2cb70270d36b6c3 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Fri, 6 Oct 2023 11:28:29 +0800 Subject: [PATCH] release name is come form version file --- .github/workflows/upload_artifact.yml | 5 +++-- version.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upload_artifact.yml b/.github/workflows/upload_artifact.yml index ab88a51d..6e43a49d 100644 --- a/.github/workflows/upload_artifact.yml +++ b/.github/workflows/upload_artifact.yml @@ -22,6 +22,7 @@ jobs: version=$(jq -r '.version' version.json) real_version=${version%%-*} echo "VERSION=$real_version" >> $GITHUB_ENV + echo "RC_VERSION=$version" >> $GITHUB_ENV changelog=$(cat changelog_latest.md) echo "CHANGELOG<> $GITHUB_OUTPUT echo "$changelog" >> $GITHUB_OUTPUT @@ -66,8 +67,8 @@ jobs: if: ${{ steps.update_data.outputs.release == 'false' }} with: files: /* - tag_name: v${{ env.VERSION }}-rc - title: Release-v${{ env.VERSION }}-rc + tag_name: v${{ env.RC_VERSION }} + title: Release-v${{ env.RC_VERSION }} body: ${{ steps.update_data.outputs.CHANGELOG }} draft: false prerelease: false diff --git a/version.json b/version.json index 5bb77020..ffb6b3a9 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "version": "0.8.26-rc2", + "version": "0.8.26-rc3", "plugins": { "portainer": "0.0.6", "nginx": "0.0.5",