mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 00:50:30 +00:00
release name is come form version file
This commit is contained in:
parent
7bf0e2e1ad
commit
2f3595b5ce
2 changed files with 4 additions and 3 deletions
5
.github/workflows/upload_artifact.yml
vendored
5
.github/workflows/upload_artifact.yml
vendored
|
@ -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<<EOF" >> $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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "0.8.26-rc2",
|
||||
"version": "0.8.26-rc3",
|
||||
"plugins": {
|
||||
"portainer": "0.0.6",
|
||||
"nginx": "0.0.5",
|
||||
|
|
Loading…
Reference in a new issue