Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
a-quelle committed Jan 18, 2025
1 parent 27a7edc commit f33e848
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish_emu_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ run-name: Publish emu-base

on:
push:
branches:
- aq/github_publish
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch: {}
Expand All @@ -16,7 +14,7 @@ concurrency:
jobs:
publish_emu_base:
name: Publish emu-base to PyPI
#if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
Expand All @@ -41,6 +39,5 @@ jobs:
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: ${{ github.workspace }}/ci/emu_base/dist
verbose: true
4 changes: 1 addition & 3 deletions .github/workflows/publish_emu_mps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ run-name: Publish emu-mps

on:
workflow_run:
workflows: [Publish emu-base, Lint and test]
workflows: [Publish emu-base]
types:
- completed
concurrency:
Expand All @@ -15,7 +15,6 @@ jobs:
name: Publish emu-mps to PyPI
if: |
${{ github.event.workflow_run.conclusion == 'success' }}
# && startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
Expand All @@ -40,7 +39,6 @@ jobs:
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: ${{ github.workspace }}/ci/emu_mps/dist
verbose: true
deploy_docs:
Expand Down
2 changes: 1 addition & 1 deletion emu_base/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
"DEFAULT_MAX_KRYLOV_DIM",
]

__version__ = "1.2.6"
__version__ = "1.2.0"
2 changes: 1 addition & 1 deletion emu_mps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
"SecondMomentOfEnergy",
]

__version__ = "1.2.2"
__version__ = "1.2.0"

0 comments on commit f33e848

Please sign in to comment.