do not commit dev
This commit is contained in:
parent
aea59ea0cb
commit
38ed762906
1 changed files with 6 additions and 2 deletions
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
|
|
@ -171,7 +171,9 @@ jobs:
|
||||||
ls -lh /opt/builds
|
ls -lh /opt/builds
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: |
|
||||||
|
${{ github.ref == 'refs/heads/master' }}
|
||||||
|
&& !contains(github.event.head_commit.message, [DEV])
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
|
@ -207,7 +209,9 @@ jobs:
|
||||||
python3 -m build
|
python3 -m build
|
||||||
|
|
||||||
- name: Publish distribution 📦 to PyPI
|
- name: Publish distribution 📦 to PyPI
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: |
|
||||||
|
${{ github.ref == 'refs/heads/master' }}
|
||||||
|
&& !contains(github.event.head_commit.message, [DEV])
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue