mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-01-22 06:19:35 -05:00
fix(ci): correct tag for checkout (#150)
This commit is contained in:
2
.github/workflows/release-notes.yml
vendored
2
.github/workflows/release-notes.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: 'v${{ inputs.tags }}'
|
||||
ref: '${{ inputs.tags }}'
|
||||
- name: Setup CI
|
||||
uses: ./.github/actions/setup-repo
|
||||
with:
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||

|
||||
|
||||
<!-- hatch-fancy-pypi-readme intro start -->
|
||||
|
||||
<div align="center">
|
||||
<h1 align="center">🦾 OpenLLM</h1>
|
||||
<a href="https://pypi.org/project/openllm">
|
||||
@@ -50,6 +52,7 @@ Images or deploy as serverless endpoint via
|
||||
<!-- hatch-fancy-pypi-readme intro stop -->
|
||||
|
||||

|
||||
|
||||
<br/>
|
||||
|
||||
<!-- hatch-fancy-pypi-readme interim start -->
|
||||
@@ -751,3 +754,5 @@ url = {https://github.com/bentoml/OpenLLM},
|
||||
year = {2023}
|
||||
}
|
||||
```
|
||||
|
||||
<!-- hatch-fancy-pypi-readme meta stop -->
|
||||
|
||||
17
hatch.toml
17
hatch.toml
@@ -5,36 +5,37 @@ content-type = "text/markdown"
|
||||
text = """
|
||||
<p align="center">
|
||||
<a href="https://github.com/bentoml/openllm">
|
||||
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/main-banner.png" width="35%" alt="Banner for OpenLLM" />
|
||||
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/main-banner.png" alt="Banner for OpenLLM" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
"""
|
||||
[[metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
end-before = "\n<!-- hatch-fancy-pypi-readme intro stop -->\n"
|
||||
path = "README.md"
|
||||
end-before = "\n<!-- hatch-fancy-pypi-readme intro stop -->"
|
||||
start-after = "<!-- hatch-fancy-pypi-readme intro start -->\n"
|
||||
[[metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
text = """
|
||||
|
||||
<p align="center">
|
||||
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/output.gif" width="35%" alt="Gif showing OpenLLM Intro" />
|
||||
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/output.gif" alt="Gif showing OpenLLM Intro" />
|
||||
</p>
|
||||
"""
|
||||
[[metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
end-before = "\n<!-- hatch-fancy-pypi-readme interim stop -->\n"
|
||||
path = "README.md"
|
||||
start-after = "<!-- hatch-fancy-pypi-readme interim start -->\n"
|
||||
end-before = "\n<!-- hatch-fancy-pypi-readme interim stop -->"
|
||||
[[metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
text = """
|
||||
|
||||
<p align="center">
|
||||
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/agent.gif" width="35%" alt="Gif showing Agent integration" />
|
||||
<img src="https://raw.githubusercontent.com/bentoml/openllm/main/assets/agent.gif" alt="Gif showing Agent integration" />
|
||||
</p>
|
||||
"""
|
||||
[[metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
end-before = "\n<!-- hatch-fancy-pypi-readme meta stop -->"
|
||||
path = "README.md"
|
||||
start-after = "<!-- hatch-fancy-pypi-readme meta start -->\n"
|
||||
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
[[metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
text = """
|
||||
|
||||
## Release Information
|
||||
@@ -43,7 +44,7 @@ text = """
|
||||
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
path = "CHANGELOG.md"
|
||||
pattern = "\n(###.+?\n)## "
|
||||
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
[[metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
text = """
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user