[CI] Fixed tag name & removed duplicated notes on release

This commit is contained in:
Gliniak
2026-03-24 20:18:58 +01:00
parent 8911a3b7d8
commit 83802fbb66
2 changed files with 1 additions and 9 deletions

View File

@@ -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

View File

@@ -85,4 +85,3 @@ jobs:
secrets: inherit secrets: inherit
with: with:
tag: ${{ github.sha }} tag: ${{ github.sha }}
branch: ${{ github.ref_name }}