Skip to content

Commit

Permalink
Merge pull request #5 from guessit-io/develop
Browse files Browse the repository at this point in the history
Update to latest dev
  • Loading branch information
MiM-MiM authored Dec 31, 2024
2 parents 8c2d60f + b145ae2 commit ef82d42
Show file tree
Hide file tree
Showing 7 changed files with 2,326 additions and 402 deletions.
33 changes: 25 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ jobs:
git config --global user.name "github-actions"
- name: Bump version
run: semantic-release version
run: semantic-release version --no-commit --no-tag --no-push
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build
run: python setup.py sdist bdist_wheel
Expand Down Expand Up @@ -139,7 +141,9 @@ jobs:
git config --global user.name "github-actions"
- name: Bump version
run: semantic-release version
run: semantic-release version --no-commit --no-tag --no-push
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Binary
run: pyinstaller --dist ./dist guessit.spec
Expand Down Expand Up @@ -180,7 +184,9 @@ jobs:
git config --global user.name "github-actions"
- name: Bump version
run: semantic-release version -v DEBUG
run: semantic-release version --no-commit --no-tag --no-push
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Binary
run: pyinstaller --dist ./dist guessit.spec
Expand Down Expand Up @@ -220,7 +226,9 @@ jobs:
git config --global user.name "github-actions"
- name: Bump version
run: semantic-release version -v DEBUG
run: semantic-release version --no-commit --no-tag --no-push
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Binary
run: pyinstaller --dist ./dist guessit.spec
Expand Down Expand Up @@ -267,15 +275,24 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "github-actions"
- name: Install python-semantic-release
run: pip install python-semantic-release
- name: Install python-semantic-release twine
run: pip install python-semantic-release twine

- name: Publish release
run: semantic-release publish -v DEBUG
- name: Bump version
run: semantic-release version
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload to pypi
run: twine upload --username "__token__" --password "${PYPI_TOKEN}" dist/*.tar.gz dist/*.whl
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

- name: Publish release
run: semantic-release publish
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Merge master to develop
uses: robotology/[email protected]
with:
Expand Down
Loading

0 comments on commit ef82d42

Please sign in to comment.