mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-10-21 09:41:29 +02:00
ci : release clean-up (#4005)
This commit applies the same pre offical release clean-up as in llama.cpp. Refs: https://github.com/ggml-org/llama.cpp/pull/27477
This commit is contained in:
@@ -62,15 +62,15 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.checks.outputs.version }}
|
tag_name: ${{ steps.checks.outputs.version }}
|
||||||
# TODO: remove the prerelease flag once the semantic versioning workflow is ready
|
prerelease: false
|
||||||
# ref: https://github.com/ggml-org/ggml/discussions/1579
|
# TODO: enrich the body of the release with more information
|
||||||
prerelease: true
|
|
||||||
body: |
|
body: |
|
||||||
> [!NOTE]
|
## Overview
|
||||||
> Semantic versioning is still work in progress.
|
|
||||||
> More info can be found in https://github.com/ggml-org/ggml/discussions/1579
|
New version has been released.
|
||||||
|
|
||||||
${{ steps.desc.outputs.nightly }}
|
${{ steps.desc.outputs.nightly }}
|
||||||
|
**More info:** [dist : releases and versioning of ggml-org projects](https://github.com/ggml-org/ggml/discussions/1579)
|
||||||
|
|
||||||
## ${{ steps.desc.outputs.changelog_title }}
|
## ${{ steps.desc.outputs.changelog_title }}
|
||||||
|
|
||||||
|
|||||||
@@ -646,6 +646,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ needs.determine-tag.outputs.tag_name }}
|
tag_name: ${{ needs.determine-tag.outputs.tag_name }}
|
||||||
|
prerelease: true
|
||||||
|
|
||||||
- name: Upload release
|
- name: Upload release
|
||||||
id: upload_release
|
id: upload_release
|
||||||
|
|||||||
@@ -52,10 +52,10 @@ PREV="$( { git tag --list; echo "${VERSION}"; } \
|
|||||||
|
|
||||||
if [[ -n "${PREV}" ]]; then
|
if [[ -n "${PREV}" ]]; then
|
||||||
CHANGELOG="$(git log --oneline "${PREV}..${RELEASE_COMMIT}")"
|
CHANGELOG="$(git log --oneline "${PREV}..${RELEASE_COMMIT}")"
|
||||||
CHANGELOG_TITLE="Change log since ${PREV}"
|
CHANGELOG_TITLE="Changelog since ${PREV}"
|
||||||
else
|
else
|
||||||
CHANGELOG="(no previous release tag found)"
|
CHANGELOG="(no previous release tag found)"
|
||||||
CHANGELOG_TITLE="Change log"
|
CHANGELOG_TITLE="Changelog"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Nightly release: the b* tag pointing at the release commit (|| true: no match is not an error)
|
# Nightly release: the b* tag pointing at the release commit (|| true: no match is not an error)
|
||||||
|
|||||||
Reference in New Issue
Block a user