-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1674ba7
commit 005957c
Showing
2 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,31 +30,31 @@ jobs: | |
run: | | ||
flake8 . --max-line-length=100 --ignore=E731 | ||
# publish: | ||
# if: github.event_name == 'release' && github.event.action == 'published' | ||
# needs: [style-python] | ||
# name: 📦 Publish to PyPi | ||
# runs-on: ubuntu-latest | ||
# environment: | ||
# name: release | ||
# url: https://pypi.org/p/inventree-zebra-plugin | ||
# permissions: | ||
# id-token: write | ||
# | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # [email protected] | ||
# | ||
# - name: Setup python | ||
# uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # [email protected] | ||
# with: | ||
# python-version: "3.10" | ||
# | ||
# - name: Install build dependencies | ||
# run: pip install --upgrade wheel setuptools twine build | ||
# | ||
# - name: Build pip package | ||
# run: python3 -m build | ||
# | ||
# - name: Publish package to PyPI | ||
# uses: pypa/gh-action-pypi-publish@f8c70e705ffc13c3b4d1221169b84f12a75d6ca8 # [email protected] | ||
publish: | ||
# if: github.event_name == 'release' && github.event.action == 'published' | ||
needs: [style-python] | ||
name: 📦 Publish to PyPi | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: release | ||
url: https://pypi.org/p/inventree-zebra-plugin | ||
permissions: | ||
id-token: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Install build dependencies | ||
run: pip install --upgrade wheel setuptools twine build | ||
|
||
- name: Build pip package | ||
run: python3 -m build | ||
|
||
- name: Publish package to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ZEBRA_PLUGIN_VERSION = "0.4.0" | ||
ZEBRA_PLUGIN_VERSION = "0.5.0" |