This commit is contained in:
Xoconoch
2025-06-03 14:05:41 -06:00
parent 8f15738fc1
commit 61096e82e5
2 changed files with 16 additions and 1 deletions

View File

@@ -17,6 +17,21 @@ jobs:
with:
python-version: "3.x"
- name: Update version in files
run: |
TAG_VERSION="${{ github.ref_name }}"
# Remove 'v' prefix if it exists
VERSION="${TAG_VERSION#v}"
echo "Using version: $VERSION"
# Update pyproject.toml
sed -i "s/^version = .*/version = \"${VERSION}\"/" pyproject.toml
# Update setup.py
sed -i "s/^\s*version = .*/ version = \"${VERSION}\",/" setup.py
echo "pyproject.toml version:"
grep "^version = " pyproject.toml
echo "setup.py version:"
grep "^\s*version = " setup.py
- name: Install pypa/build
run: >-
python -m

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "deezspot-spotizerr"
version = "1.1"
version = "1.2.0"
description = "Downloads songs, albums or playlists from deezer and spotify (clone from deezloader)"
readme = "README.md"
requires-python = ">=3.10"