mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-01-24 23:37:48 -05:00
fix(ci): add prefix v for archive creation
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
@@ -8,7 +8,7 @@ TAG=${GITHUB_REF_NAME#v}
|
||||
PREFIX="openllm-${TAG}"
|
||||
ARCHIVE="openllm-${TAG}.tar.gz"
|
||||
|
||||
git archive --format=tar --prefix="${PREFIX}/" "${TAG}" | gzip > "${ARCHIVE}"
|
||||
git archive --format=tar --prefix="${PREFIX}/" "v${TAG}" | gzip > "${ARCHIVE}"
|
||||
cat > release_notes.txt << EOF
|
||||
## Installation
|
||||
|
||||
|
||||
2
.github/workflows/release-notes.yml
vendored
2
.github/workflows/release-notes.yml
vendored
@@ -3,7 +3,7 @@ on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrun
|
||||
defaults:
|
||||
run:
|
||||
|
||||
Reference in New Issue
Block a user