mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-15 02:11:15 +08:00
Fix release notes (#2401)
This commit is contained in:
parent
491d7f707c
commit
2acebe5490
2
.github/workflows/deploy-spaces.yml
vendored
2
.github/workflows/deploy-spaces.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
||||
python3 -m build -w
|
||||
aws s3 cp dist/gradio-${{ env.GRADIO_VERSION }}-py3-none-any.whl s3://gradio-builds/${{ github.sha }}/
|
||||
- name: Install Hub Client Library
|
||||
run: pip install huggingface-hub==0.8.1
|
||||
run: pip install huggingface-hub
|
||||
- name: Set up Demos
|
||||
run: python scripts/copy_demos.py https://gradio-builds.s3.amazonaws.com/${{ github.sha }}/gradio-${{ env.GRADIO_VERSION }}-py3-none-any.whl
|
||||
- name: Upload kitchen sink to spaces
|
||||
|
24
CHANGELOG.md
24
CHANGELOG.md
@ -1,5 +1,29 @@
|
||||
# Upcoming Release
|
||||
|
||||
## New Features:
|
||||
No changes to highlight.
|
||||
|
||||
## Bug Fixes:
|
||||
No changes to highlight.
|
||||
|
||||
## Documentation Changes:
|
||||
No changes to highlight.
|
||||
|
||||
## Testing and Infrastructure Changes:
|
||||
No changes to highlight.
|
||||
|
||||
## Breaking Changes:
|
||||
No changes to highlight.
|
||||
|
||||
## Full Changelog:
|
||||
No changes to highlight.
|
||||
|
||||
## Contributors Shoutout:
|
||||
No changes to highlight.
|
||||
|
||||
|
||||
# Version 3.4.1
|
||||
|
||||
## New Features:
|
||||
|
||||
### 1. See Past and Upcoming Changes in the Release History 👀
|
||||
|
@ -1,4 +1,3 @@
|
||||
import shutil
|
||||
import pathlib
|
||||
import argparse
|
||||
import textwrap
|
||||
@ -36,7 +35,7 @@ def format_release_notes(latest_version: str):
|
||||
upcoming = current_dir / "CHANGELOG.md"
|
||||
with open(upcoming, "r") as latest:
|
||||
lines = latest.readlines()
|
||||
assert lines[0] == "# Upcoming Release \n"
|
||||
assert "# Upcoming Release" in lines[0]
|
||||
with open(upcoming, "w") as latest:
|
||||
lines[0] = latest_version.replace("v", "# Version ") + "\n"
|
||||
lines = textwrap.dedent(TEMPLATE).splitlines(keepends=True) + lines
|
||||
|
Loading…
Reference in New Issue
Block a user