From 9b4c3844258e9b11cb871ca0a8fabbbef66758f5 Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Wed, 4 Dec 2024 08:48:35 +0100 Subject: [PATCH] release to pypi after storing archive to artifact --- .github/workflows/release.yml | 12 ++++++------ libeos/__init__.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3545cb..d252a54 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,12 @@ jobs: - name: Build PyPI package run: | python3 -m build + - name: Archive distribution + uses: actions/upload-artifact@v4 + with: + name: linux-dist + path: | + dist/*.tar.gz - name: Upload to PyPI if: github.event_name != 'workflow_dispatch' uses: pypa/gh-action-pypi-publish@release/v1 @@ -45,12 +51,6 @@ jobs: user: __token__ password: ${{ secrets.PYPI_TOKEN }} skip-existing: true - - name: Archive distribution - uses: actions/upload-artifact@v4 - with: - name: linux-dist - path: | - dist/*.tar.gz build-windows: runs-on: windows-latest diff --git a/libeos/__init__.py b/libeos/__init__.py index 3ed2095..224aec6 100644 --- a/libeos/__init__.py +++ b/libeos/__init__.py @@ -2,5 +2,5 @@ Package to handle data redction at AMOR instrument to be used by eos.py script. """ -__version__ = '2.1.2' +__version__ = '2.1.3' __date__ = '2024-12-03'