From 66a55fc19949a1890f1add819bd6f9df23c29375 Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Tue, 10 Sep 2024 19:08:33 +1200 Subject: [PATCH] aha --- .github/workflows/release.yml | 3 ++- CHANGELOG.md | 4 ++-- pyproject.toml | 2 +- yt_dlp_plugins/extractor/getpot.py | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7689d4..925a9e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,7 @@ jobs: echo "::group::Variables" cat << EOF | tee -a "$GITHUB_OUTPUT" tag=${tag} + version_raw=$(hatch project metadata | jq -r .version) version=v$(hatch project metadata | jq -r .version) EOF echo "::endgroup::" @@ -33,7 +34,7 @@ jobs: uses: mindsers/changelog-reader-action@v2 with: validation_level: none - version: ${{ steps.set_variables.outputs.version }} + version: ${{ steps.set_variables.outputs.version_raw }} path: ./CHANGELOG.md - name: Bundle and create release env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 471bbf4..a152f04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,10 @@ # Changelog -## [0.0.4] +## [0.0.4b1] ### Added - `VERSION` attribute to GetPOTProvider. Shown in verbose output for debugging purposes. [unreleased]:https://github.com/coletdjnz/yt-dlp-get-pot/compare/v0.0.3...HEAD -[0.0.4]:https://github.com/coletdjnz/yt-dlp-get-pot/compare/v0.0.3...v0.0.4 \ No newline at end of file +[0.0.4b1]:https://github.com/coletdjnz/yt-dlp-get-pot/compare/v0.0.3...v0.0.4b1 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 9ee1032..f04d7cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "yt-dlp-get-pot" -version = "0.0.4" +version = "0.0.4b1" readme = "README.md" requires-python = ">=3.8" license = { file = "LICENSE"} diff --git a/yt_dlp_plugins/extractor/getpot.py b/yt_dlp_plugins/extractor/getpot.py index a132c6c..2304205 100644 --- a/yt_dlp_plugins/extractor/getpot.py +++ b/yt_dlp_plugins/extractor/getpot.py @@ -12,7 +12,7 @@ from yt_dlp.YoutubeDL import YoutubeDL -__version__ = '0.0.4' +__version__ = '0.0.4b1' __all__ = ['GetPOTProvider', 'register_provider', 'register_preference', '__version__']