mirror of
https://github.com/ranxianglei/billion-context.git
synced 2026-11-22 02:29:06 +08:00
Merge pull request #5378 from ranxianglei/fix/release-notes-describe-exclude
[PR] fix(release): direct-path release notes have always been the placeholder "- initial release" — the newly created tag sha | fix(release): direct-path 发布说明一直是占位符 "- initial release"——新打的 tag 遮蔽了 git describe
This commit is contained in:
@@ -634,7 +634,7 @@ jobs:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
VER="${{ steps.version.outputs.version }}"
|
||||
LAST="$(git describe --tags --abbrev=0 2>/dev/null || echo "")"
|
||||
LAST="$(git describe --match 'v*' --exclude "v$VER*" --tags --abbrev=0 2>/dev/null || echo "")"
|
||||
NOTES="$RUNNER_TEMP/release-notes.md"
|
||||
if [ -n "$LAST" ] && [ "$LAST" != "v$VER" ]; then
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user