From c29aadcf52a85e34adebcc9a5f0a8e8caeba6eaa Mon Sep 17 00:00:00 2001 From: Maciej Bak Date: Thu, 3 Aug 2023 23:02:09 +0200 Subject: [PATCH] fix ci --- .github/workflows/publish.yml | 17 +++++++++-------- README.md | 2 +- hypercomplex/VERSION | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 672fc9d..e0690c3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -71,7 +71,7 @@ jobs: - name: Install conda build suite shell: bash -l {0} - run: conda install conda-build conda-verify numpy + run: conda install anaconda-client conda-build conda-verify numpy - name: Conda Info shell: bash -l {0} @@ -90,12 +90,13 @@ jobs: shell: bash -l {0} run: conda build . -c conda-forge - - name: Publish to Anaconda.org - uses: m0nhawk/conda-package-publish-action@master - with: - subDir: '.' - AnacondaUsername: AngryMaciek - AnacondaPassword: ${{ secrets.ANACONDA_PASSWORD }} + - name: Upload to Anaconda.org + shell: bash -l {0} + env: + ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} + run: | + conda config --set anaconda_upload yes + conda upload --user AngryMaciek hypercomplex --token ANACONDA_TOKEN DockerHub: runs-on: ubuntu-22.04 @@ -130,7 +131,7 @@ jobs: uses: requarks/changelog-action@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - tag: ${${GITHUB_REF##*/}:1} + tag: ${{ github.ref_name }} excludeTypes: docs,other includeRefIssues: false reverseOrder: true diff --git a/README.md b/README.md index d2fb593..a8771b3 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![CodeFactor](https://www.codefactor.io/repository/github/angrymaciek/hypercomplex/badge)](https://www.codefactor.io/repository/github/angrymaciek/hypercomplex) [![publish](https://github.com/AngryMaciek/hypercomplex/workflows/publish/badge.svg)](https://github.com/AngryMaciek/hypercomplex/actions?query=workflow%3Apublish) [![conda](https://anaconda.org/angrymaciek/hypercomplex/badges/version.svg)](https://anaconda.org/AngryMaciek/hypercomplex) -[![DockerHub](https://badgen.net/badge/icon/2.0.9/docker?icon=docker&label=DockerHub&color=blue)](https://hub.docker.com/r/angrymaciek/capsule) +[![DockerHub](https://badgen.net/badge/icon/2.0.10/docker?icon=docker&label=DockerHub&color=blue)](https://hub.docker.com/r/angrymaciek/hypercomplex) [![DOI](https://joss.theoj.org/papers/10.21105/joss.05272/status.svg)](https://doi.org/10.21105/joss.05272) drawing diff --git a/hypercomplex/VERSION b/hypercomplex/VERSION index 77989f5..0b71bb7 100644 --- a/hypercomplex/VERSION +++ b/hypercomplex/VERSION @@ -1 +1 @@ -v2.0.9 \ No newline at end of file +v2.0.10 \ No newline at end of file