will you be happy now?
This commit is contained in:
4
.github/workflows/publish-to-pypi.yml
vendored
4
.github/workflows/publish-to-pypi.yml
vendored
@@ -33,14 +33,14 @@ jobs:
|
||||
- name: Update version in setup.py
|
||||
run: |
|
||||
VERSION_TAG="${{ steps.get_version.outputs.VERSION }}"
|
||||
sed -i "s/\\\\(version *= *[\\\\\\"']\\\\)[^\\\\\\"']*\([\\\\\\"']\\\\)/\\\\1$VERSION_TAG\\\\2/" setup.py
|
||||
sed -i "s/version="[^"]*"/version="${VERSION_TAG}""/" setup.py
|
||||
echo "Updated setup.py to version $VERSION_TAG for build:"
|
||||
cat setup.py
|
||||
|
||||
- name: Update version in librespot/__init__.py
|
||||
run: |
|
||||
VERSION_TAG="${{ steps.get_version.outputs.VERSION }}"
|
||||
sed -i "s/\\\\(version_name *= *[\\\\\\"']\\\\)[^\\\\\\"']*\([\\\\\\"']\\\\)/\\\\1$VERSION_TAG\\\\2/" librespot/__init__.py
|
||||
sed -i "s/version_name = \".*\"/version_name = \"${VERSION_TAG}\"/" librespot/__init__.py
|
||||
echo "Updated librespot/__init__.py to version $VERSION_TAG for build:"
|
||||
cat librespot/__init__.py
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import platform
|
||||
|
||||
|
||||
class Version:
|
||||
version_name = "0.0.9"
|
||||
version_name = "0.0.0"
|
||||
|
||||
@staticmethod
|
||||
def platform() -> Platform:
|
||||
|
||||
4
setup.py
4
setup.py
@@ -13,7 +13,7 @@ with open(os.path.join(here, 'requirements.txt'), encoding='utf-8') as f:
|
||||
install_requires = f.read().splitlines()
|
||||
|
||||
setuptools.setup(name="librespot-spotizerr",
|
||||
version="0.1.0",
|
||||
version="0.0.0",
|
||||
description="Spotizerr's python librespot implementation",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
@@ -25,5 +25,5 @@ setuptools.setup(name="librespot-spotizerr",
|
||||
classifiers=[
|
||||
"Development Status :: 1 - Planning",
|
||||
# "License :: OSI Approved :: Apache Software License", # Removed
|
||||
"Topic :: Multimedia :: Sound/Audio"
|
||||
"Topic :: Multimedia :: Sound/Audi o"
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user