Skip to content

Commit

Permalink
OpenPNM v2.7.0 #minor
Browse files Browse the repository at this point in the history
  • Loading branch information
jgostick authored Feb 24, 2021
2 parents cd2c8ec + 37f2345 commit d085d83
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 23 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,6 @@ jobs:
pr_allow_empty: true # Creates pull request even if there are no changes
github_token: ${{ secrets.GITHUB_TOKEN }}

# - name: Create Pull Request to merge back release into dev
# uses: peter-evans/create-pull-request@v3
# with:
# token: ${{ secrets.PUSH_ACTION_TOKEN }}
# branch: release
# base: dev
# title: Don't forget to merge release back into dev!
# body: Changes made to the release branch (e.g. hotfixes), plus the version bump.
# delete-branch: false

- name: Create new tag
run: |
REPOSITORY=${INPUT_REPOSITORY:-$GITHUB_REPOSITORY}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@ jobs:
- name: Build distribution 📦
run: python setup.py sdist bdist_wheel

# - name: Publish distribution 📦 to PyPI
# if: startsWith(github.event.ref, 'refs/tags') && contains(env.TAG_MISMATCH, 'false')
# uses: pypa/gh-action-pypi-publish@master
# with:
# user: __token__
# password: ${{ secrets.PYPI_TOKEN }}
# skip_existing: true

- name: Publish distribution 📦 to TestPyPI
- name: Publish distribution 📦 to PyPI
if: startsWith(github.event.ref, 'refs/tags') && contains(env.TAG_MISMATCH, 'false')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.TESTPYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true

# - name: Publish distribution 📦 to TestPyPI
# if: startsWith(github.event.ref, 'refs/tags') && contains(env.TAG_MISMATCH, 'false')
# uses: pypa/gh-action-pypi-publish@master
# with:
# user: __token__
# password: ${{ secrets.TESTPYPI_TOKEN }}
# repository_url: https://test.pypi.org/legacy/

# Not a good idea: if a non-conforming tag is push, e.g. random_tag, it
# first gets deleted by cleanup-tags.yml, and then publish-to-pypi.yml gets
Expand Down
2 changes: 1 addition & 1 deletion openpnm/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.7.0'
__version__ = '2.6.1'
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.7.0
current_version = 2.6.1

[flake8]
ignore = E122,E127,E203,E222,E226,E225,E241,E402,W503,F401
Expand Down

0 comments on commit d085d83

Please sign in to comment.