diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7092436c..14597d0d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,26 +17,26 @@ jobs: with: python-version: '3.9' - - name: Check version correctness - run: | - python3 .github/check_version.py --branch ${{ github.event.release.target_commitish }} --tag $GITHUB_REF_NAME \ - --new_version $(< VERSION) --old_version $(git cat-file -p $(git rev-parse "$GITHUB_SHA"^1):VERSION) \ - --pre_release ${{ github.event.release.prerelease }} +# - name: Check version correctness +# run: | +# python3 .github/check_version.py --branch ${{ github.event.release.target_commitish }} --tag $GITHUB_REF_NAME \ +# --new_version $(< VERSION) --old_version $(git cat-file -p $(git rev-parse "$GITHUB_SHA"^1):VERSION) \ +# --pre_release ${{ github.event.release.prerelease }} - name: Install dependencies run: | python3 -m pip install --upgrade pip pip3 install build twine - - name: Build and publish to PyPI # TODO change to pypi instead of testpypi + - name: Build and publish to PyPI if: ${{ success() }} # publish only when version passed the checks env: - TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }} # TODO delete TEST_ in the name of the variable - TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} # TODO delete TEST_ in the name of the variable + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python3 -m build -w twine check dist/* - twine upload --repository testpypi dist/* + twine upload --repository pypi dist/* - name: Push to dockerhub if: ${{ success() }} diff --git a/VERSION b/VERSION index 7e937f29..9a7d84f2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2023.05.26 \ No newline at end of file +0.9 \ No newline at end of file diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index a9d268ad..903f4592 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -1,11 +1,9 @@ Changelog ========= -This is an example -v0.9 (2023-09-29) +v0.9 (2023-06-26) ------------------- Release note: `v0.9 `_ -* First change description -* Second change description +* Publication of the first version of dedoc library