[CI] Fixed tag name & removed duplicated notes on release
This commit is contained in:
9
.github/workflows/Create_release.yml
vendored
9
.github/workflows/Create_release.yml
vendored
@@ -7,11 +7,6 @@ on:
|
|||||||
description: 'Full commit SHA for tagging'
|
description: 'Full commit SHA for tagging'
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
branch:
|
|
||||||
description: 'Branch name used as release tag suffix (e.g. canary_experimental)'
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
default: 'canary_experimental'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -35,8 +30,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
FULL_SHA="${{ inputs.tag }}"
|
FULL_SHA="${{ inputs.tag }}"
|
||||||
SHORT_SHA="${FULL_SHA::7}"
|
SHORT_SHA="${FULL_SHA::7}"
|
||||||
BRANCH="${{ inputs.branch }}"
|
TAG_NAME="${SHORT_SHA}"
|
||||||
TAG_NAME="${SHORT_SHA}_${BRANCH}"
|
|
||||||
|
|
||||||
echo "tag_name=${TAG_NAME}" >> "$GITHUB_OUTPUT"
|
echo "tag_name=${TAG_NAME}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
@@ -161,7 +155,6 @@ jobs:
|
|||||||
--target "${{ inputs.tag }}" \
|
--target "${{ inputs.tag }}" \
|
||||||
--title "${TAG}" \
|
--title "${TAG}" \
|
||||||
--notes-file release_notes.md \
|
--notes-file release_notes.md \
|
||||||
--notes "${BODY}" \
|
|
||||||
--latest \
|
--latest \
|
||||||
release_assets/*
|
release_assets/*
|
||||||
fi
|
fi
|
||||||
|
|||||||
1
.github/workflows/Orchestrator.yml
vendored
1
.github/workflows/Orchestrator.yml
vendored
@@ -85,4 +85,3 @@ jobs:
|
|||||||
secrets: inherit
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
tag: ${{ github.sha }}
|
tag: ${{ github.sha }}
|
||||||
branch: ${{ github.ref_name }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user