From 2457bb4a0cbc813729974fa65a64451b99ef6f19 Mon Sep 17 00:00:00 2001 From: Dacheng Xu Date: Mon, 22 Apr 2024 15:34:49 -0400 Subject: [PATCH] Bump to v1.2.2 (#435) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Bump version: 1.2.1 → 1.2.2 * Update HISTORY.md * Update HISTORY.md * Remove token, using trusted publisher instead --- .bumpversion.cfg | 3 +-- .github/workflows/{Pipi.yml => Pypi.yml} | 7 +------ HISTORY.md | 6 ++++++ setup.py | 2 +- wfsim/__init__.py | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) rename .github/workflows/{Pipi.yml => Pypi.yml} (69%) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 12d96a2d..46771332 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,6 +1,5 @@ [bumpversion] -current_version = 1.2.1 +current_version = 1.2.2 files = setup.py wfsim/__init__.py commit = True tag = True - diff --git a/.github/workflows/Pipi.yml b/.github/workflows/Pypi.yml similarity index 69% rename from .github/workflows/Pipi.yml rename to .github/workflows/Pypi.yml index 42310c6e..0633b7a1 100644 --- a/.github/workflows/Pipi.yml +++ b/.github/workflows/Pypi.yml @@ -22,9 +22,4 @@ jobs: run: python setup.py sdist bdist_wheel # Do the publish - name: Publish a Python distribution to PyPI - # Might want to add but does not work on workflow_dispatch : - # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.PIPY_TOKEN }} + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/HISTORY.md b/HISTORY.md index ff0226a5..c6a6c964 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,9 @@ +v1.2.2 / 2024-04-21 +=================== +* Bump epix version for automatic tests (#433) +* Fix s2 photon timing bug (#434) +* Deprecate the usage of `XENONnT/ax_env` (#432) + v1.2.1 / 2024-02-09 =================== * Total e_dep in sensitive volume propagated to truth (#429) diff --git a/setup.py b/setup.py index c7886c4b..4f725d6e 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setuptools.setup( name='wfsim', - version='1.2.1', + version='1.2.2', description='XENONnT Waveform simulator', author='Wfsim contributors, the XENON collaboration', url='https://github.com/XENONnT/wfsim', diff --git a/wfsim/__init__.py b/wfsim/__init__.py index 597a16a5..ea28c86a 100644 --- a/wfsim/__init__.py +++ b/wfsim/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.2.1" +__version__ = "1.2.2" from .core.afterpulse import * from .core.pulse import *