Skip to content

Commit

Permalink
[FIX] versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
wael-sudo2 committed Oct 20, 2024
1 parent fcf52fd commit 0d80d06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 26 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
if: startsWith(github.ref, 'refs/tags/')
needs:
- build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -92,26 +92,3 @@ jobs:
'${{ github.ref_name }}' dist/**
--repo '${{ github.repository }}'
publish-to-testpypi:
name: Publish Python 🐍 distribution 📦 to TestPyPI
needs:
- build
runs-on: ubuntu-latest

environment:
name: testpypi
url: https://test.pypi.org/p/facebook-page-info-scraper

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
2 changes: 1 addition & 1 deletion facebook_page_info_scraper/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.5"
__version__ = "1.1.6"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ long_description_content_type = text/x-rst

# add the url to your repository/homepage and version release
url = https://github.com/wael-sudo2/facebook-page-info-scraper
download_url = https://github.com//wael-sudo2/facebook-page-info-scraper/archive/refs/tags/v1.1.5.tar.gz
download_url = https://github.com//wael-sudo2/facebook-page-info-scraper/archive/refs/tags/v1.1.6.tar.gz

# define your license and license file
license = MIT
Expand Down

0 comments on commit 0d80d06

Please sign in to comment.