mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-02-21 05:06:40 +01:00
Update version badge automatically in README
Uses: https://github.com/Schneegans/dynamic-badges-action
This commit is contained in:
parent
5ac2324460
commit
b2f70ae74e
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -161,3 +161,19 @@ jobs:
|
||||
asset_path: ./SHA2-256SUMS
|
||||
asset_name: SHA2-256SUMS
|
||||
asset_content_type: text/plain
|
||||
|
||||
update_version_badge:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: build_unix
|
||||
|
||||
steps:
|
||||
- name: Create Version Badge
|
||||
uses: schneegans/dynamic-badges-action@v1.0.0
|
||||
with:
|
||||
auth: ${{ secrets.GIST_TOKEN }}
|
||||
gistID: c69cb23c3c5b3316248e52022790aa57
|
||||
filename: version.json
|
||||
label: Version
|
||||
message: ${{ needs.build_unix.outputs.ytdlc_version }}
|
||||
|
@ -4,10 +4,10 @@
|
||||
# Instuctions for creating release
|
||||
|
||||
* Run `make doc`
|
||||
* Add changelog, bump version in top of Readme
|
||||
* Commit to master as `Release <number>`
|
||||
* Update Changelog.md and Authors-Fork
|
||||
* Commit to master as `Release <version>`
|
||||
* Push to origin/release - build task will now run
|
||||
* Update version.py and run `make doc`
|
||||
* Update version.py and run `make issuetemplates`
|
||||
* Commit to master as `[version] update`
|
||||
* Push to origin/master
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
[](https://github.com/pukkandan/yt-dlc/releases/latest)
|
||||
<!-- See: https://github.com/marketplace/actions/dynamic-badges -->
|
||||
[](https://github.com/pukkandan/yt-dlc/releases/latest)
|
||||
[](https://github.com/pukkandan/yt-dlc/blob/master/LICENSE)
|
||||
[](https://github.com/pukkandan/yt-dlc/actions?query=workflow%3ACore)
|
||||
[](https://github.com/pukkandan/yt-dlc/actions?query=workflow%3AFull)
|
||||
|
Loading…
x
Reference in New Issue
Block a user