diff --git a/.github/actions/create_release_and_archive.sh b/.github/actions/create_release_and_archive.sh index 24df66c0..b12c21fc 100755 --- a/.github/actions/create_release_and_archive.sh +++ b/.github/actions/create_release_and_archive.sh @@ -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 diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 8bb49a86..e548b6dd 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -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: