diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 246a695a..592b8b70 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,6 +49,7 @@ jobs: password: ${{ secrets.PYPI_API_TOKEN }} aur-release: + needs: pypi-release runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -62,6 +63,17 @@ jobs: python -m pip install tomli - name: Generate PKGBUILD run: python ./bin/gen_PKGBUILD.py > ./PKGBUILD + - name: Get version number + run: | + VERSION="$(cat ./PKGBUILD | grep pkgver= | awk -F= '{print $2}')" + echo "DIST_VERSION=${VERSION}" >> $GITHUB_ENV + - name: Wait for PyPi + uses: nev7n/wait_for_response@v1 + with: + url: "https://files.pythonhosted.org/packages/source/a/anesthetic/anesthetic-${{ env.DIST_VERSION }}.tar.gz" + responseCode: 200 + timeout: 600000 + interval: 10000 - name: Publish AUR package uses: KSXGitHub/github-actions-deploy-aur@v2.7.0 with: diff --git a/README.rst b/README.rst index 4cee6fac..d9825869 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ anesthetic: nested sampling post-processing =========================================== :Authors: Will Handley and Lukas Hergt -:Version: 2.0.0-beta.39 +:Version: 2.0.0-beta.40 :Homepage: https://github.com/handley-lab/anesthetic :Documentation: http://anesthetic.readthedocs.io/ diff --git a/anesthetic/_version.py b/anesthetic/_version.py index 08225076..0376b8da 100644 --- a/anesthetic/_version.py +++ b/anesthetic/_version.py @@ -1 +1 @@ -__version__ = '2.0.0b39' +__version__ = '2.0.0b40' diff --git a/pyproject.toml b/pyproject.toml index e302b7c2..2099002e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,9 @@ authors = [ { name="Andrew Fowlie", email="andrew.j.fowlie@googlemail.com" }, { name="Thomas Gessey-Jones", email="tg400@cam.ac.uk"}, { name="Stefan Heimersheim", email="sh2061@ast.cam.ac.uk" }, + { name="Pablo Lemos", email="plemos91@gmail.com" }, { name="Toby Lovick", email="tcl44@cam.ac.uk"}, + { name="Aleksandr Petrosyan", email="a-p-petrosyan@yandex.ru" }, { name="Liangliang Su", email="liangliangsu@njnu.edu.cn"}, { name="David Yallup", email="david.yallup@gmail.com" }, ]