Files
OpenLLM/.github/workflows/release-notes.yml

30 lines
871 B
YAML

name: release-notes
on:
push:
tags:
- 'v*.*.*'
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrun
defaults:
run:
shell: bash --noprofile --norc -exo pipefail {0}
jobs:
release:
if: github.repository_owner == 'bentoml'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup CI
uses: ./.github/actions/setup-repo
- name: Create release notes
run: ./.github/actions/create_release_and_archive.sh
- name: Create release
uses: softprops/action-gh-release@v1
with:
# Use GH feature to populate the changelog automatically
generate_release_notes: true
body_path: release_notes.txt
fail_on_unmatched_files: true
files: openllm-*.tar.gz