diff --git a/.github/workflows/conda-release.yaml b/.github/workflows/conda-release.yaml index e43addb..b2b27fe 100644 --- a/.github/workflows/conda-release.yaml +++ b/.github/workflows/conda-release.yaml @@ -3,10 +3,7 @@ name: conda-release on: push: branches: - - master - - conda-release - tags: - - 'v*' + - automate-versioning jobs: build-and-publish: @@ -28,8 +25,3 @@ jobs: shell: bash -l {0} run: | conda build . - - name: Upload to haasad conda channel - if: startsWith(github.ref, 'refs/tags/v') - shell: bash -l {0} - run: | - anaconda -t ${{ secrets.CONDA_TOKEN }} upload /usr/share/miniconda/envs/test/conda-bld/noarch/*.tar.bz2 diff --git a/.github/workflows/pypi-release.yaml b/.github/workflows/pypi-release.yaml index b3af276..01e6540 100644 --- a/.github/workflows/pypi-release.yaml +++ b/.github/workflows/pypi-release.yaml @@ -3,9 +3,7 @@ name: PyPI release on: push: branches: - - master - tags: - - '*' + - automate-versioning jobs: build-and-publish: @@ -27,9 +25,3 @@ jobs: echo "VERSION=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV" - name: Build run: python -m build - - name: Upload to PyPI - if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_TOKEN }}