From fb5dd950ab55e9c1d699f5514557924bf1ead5ac Mon Sep 17 00:00:00 2001 From: Dhrumil Mistry <56185972+dmdhrumilmistry@users.noreply.github.com> Date: Tue, 14 Nov 2023 16:52:24 +0530 Subject: [PATCH] bump proj version --- .github/workflows/pypi-publish.yml | 55 +++++++++++++++--------------- src/pyproject.toml | 2 +- 2 files changed, 28 insertions(+), 29 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index de5bd74..521540e 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -9,36 +9,35 @@ name: Upload OWASP OFFAT Python Package to PyPi on: - release: - types: [published] + release: + types: [published] permissions: - contents: read + contents: read jobs: - deploy: + deploy: + runs-on: ubuntu-latest - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: '3.x' - - name: change cwd to src directory - run: cd src - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build - - name: Build package - run: | - cd src - python -m build - - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} - packages_dir: src/dist \ No newline at end of file + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: "3.x" + - name: change cwd to src directory + run: cd src + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install build + - name: Build package + run: | + cd src + python -m build + - name: Publish package + uses: pypa/gh-action-pypi-publish@v1.8.10 + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }} + packages_dir: src/dist diff --git a/src/pyproject.toml b/src/pyproject.toml index 6f0717e..9d92b5e 100644 --- a/src/pyproject.toml +++ b/src/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "offat" -version = "0.11.0" +version = "0.12.1" description = "Offensive API tester tool automates checks for common API vulnerabilities" authors = ["Dhrumil Mistry "] license = "MIT"