diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 3c3942a..1f521cd 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -31,7 +31,7 @@ jobs: | sed 's#[^a-zA-Z0-9_\.\-]#_#g'` echo "tag version = $VERSION_TAG" - VERSION_FILE=$(cat VERSION) + VERSION_FILE=$(cat VERSION.txt) echo "file version = $VERSION_FILE" if [ "$VERSION_TAG" != "$VERSION_FILE" ]; then @@ -50,7 +50,5 @@ jobs: - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@master - env: - PYTHON_MOIRA_CLIENT_VERSION: ${{ github.ref_name }} with: password: ${{ secrets.PYPI_API_TOKEN_V2 }} diff --git a/VERSION b/VERSION deleted file mode 100644 index 8c7fafd..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -4.1.3 \ No newline at end of file diff --git a/VERSION.txt b/VERSION.txt new file mode 100644 index 0000000..9d086c6 --- /dev/null +++ b/VERSION.txt @@ -0,0 +1 @@ +4.1.4 \ No newline at end of file diff --git a/setup.py b/setup.py index 8e3934d..b573be6 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ with open('requirements.txt') as f: required = f.read().splitlines() -with open("VERSION", "r") as file: +with open("VERSION.txt", "r") as file: version = file.readline() setup(