mirror of
https://github.com/RunLit/Bambu-Run.git
synced 2026-08-22 06:44:19 +01:00
ci(readme): auto-generate release notes on tag, add dashboard tour to README
- bump-version.yml now creates a GitHub Release with `--generate-notes` alongside each version tag, so the Tags/Releases page is self-describing instead of a bare list of vX.Y.Z tags with no context. - README gets a Dashboard Tour gallery using the wiki's existing user-attachments image URLs (no binary images added to the repo).
This commit is contained in:
13
.github/workflows/bump-version.yml
vendored
13
.github/workflows/bump-version.yml
vendored
@@ -5,6 +5,10 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: bump-version-main
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
bump-version:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -49,8 +53,17 @@ jobs:
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add pyproject.toml
|
||||
git commit -m "chore: bump version to ${{ steps.bump.outputs.new_version }} [skip ci]"
|
||||
git pull --rebase origin main
|
||||
git push
|
||||
- name: Tag the release
|
||||
run: |
|
||||
git tag "v${{ steps.bump.outputs.new_version }}"
|
||||
git push origin "v${{ steps.bump.outputs.new_version }}"
|
||||
|
||||
- name: Create GitHub release with auto-generated notes
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
gh release create "v${{ steps.bump.outputs.new_version }}" \
|
||||
--title "v${{ steps.bump.outputs.new_version }}" \
|
||||
--generate-notes
|
||||
|
||||
Reference in New Issue
Block a user