mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
release name is come form version file
This commit is contained in:
parent
7bf0e2e1ad
commit
2f3595b5ce
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)
|
version=$(jq -r '.version' version.json)
|
||||||
real_version=${version%%-*}
|
real_version=${version%%-*}
|
||||||
echo "VERSION=$real_version" >> $GITHUB_ENV
|
echo "VERSION=$real_version" >> $GITHUB_ENV
|
||||||
|
echo "RC_VERSION=$version" >> $GITHUB_ENV
|
||||||
changelog=$(cat changelog_latest.md)
|
changelog=$(cat changelog_latest.md)
|
||||||
echo "CHANGELOG<<EOF" >> $GITHUB_OUTPUT
|
echo "CHANGELOG<<EOF" >> $GITHUB_OUTPUT
|
||||||
echo "$changelog" >> $GITHUB_OUTPUT
|
echo "$changelog" >> $GITHUB_OUTPUT
|
||||||
@ -66,8 +67,8 @@ jobs:
|
|||||||
if: ${{ steps.update_data.outputs.release == 'false' }}
|
if: ${{ steps.update_data.outputs.release == 'false' }}
|
||||||
with:
|
with:
|
||||||
files: /*
|
files: /*
|
||||||
tag_name: v${{ env.VERSION }}-rc
|
tag_name: v${{ env.RC_VERSION }}
|
||||||
title: Release-v${{ env.VERSION }}-rc
|
title: Release-v${{ env.RC_VERSION }}
|
||||||
body: ${{ steps.update_data.outputs.CHANGELOG }}
|
body: ${{ steps.update_data.outputs.CHANGELOG }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "0.8.26-rc2",
|
"version": "0.8.26-rc3",
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"portainer": "0.0.6",
|
"portainer": "0.0.6",
|
||||||
"nginx": "0.0.5",
|
"nginx": "0.0.5",
|
||||||
|
Loading…
Reference in New Issue
Block a user