do not commit dev

This commit is contained in:
Jesse Bannon 2023-09-01 23:51:29 -07:00
parent aea59ea0cb
commit 38ed762906

View file

@ -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 }}