1.3.0
This commit is contained in:
15
.github/workflows/publish-to-pypi.yml
vendored
15
.github/workflows/publish-to-pypi.yml
vendored
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user