Skip to content

Commit

Permalink
Merge pull request #102 from ali-zahedi/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ali-zahedi authored Mar 28, 2024
2 parents 9ae48bb + b4ab79c commit fce3daa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/semantic.yaml → .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,16 @@ jobs:
echo "NEW_TAG=$NEW_TAG" >> $GITHUB_ENV
- name: Update package version
run: sed -i "s/__version__ = \"1.0.0\"/__version__ = \"$NEW_TAG\"/g" azbankgateways/__init__.py
run: |
echo "$NEW_TAG"
sed -i "s/__version__ = \"1.0.0\"/__version__ = \"$NEW_TAG\"/g" azbankgateways/__init__.py
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Build package
uses: actions/setup-python@v4
with:
Expand All @@ -50,8 +59,5 @@ jobs:
run: python -m pip install build
- name: Build dist
run: python -m build

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.14
with:
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ include LICENSE.md
include README.md
recursive-include azbankgateways *
recursive-include docs *
prune node_modules

0 comments on commit fce3daa

Please sign in to comment.