From e2d2d3b796312475430afe4e82f0e62dbbe3ccc0 Mon Sep 17 00:00:00 2001 From: Steffen Buergers Date: Mon, 18 Mar 2024 17:34:25 +0100 Subject: [PATCH] fix publishing to pypi --- .github/workflows/publish-to-pypi.yml | 2 +- CHANGELOG.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 6b4e39f..0d64892 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -20,7 +20,7 @@ jobs: run: | sed -i "/__version__/d" twinn_ml_interface/_version.py sed -i "s/__dev_version__/__version__/g" twinn_ml_interface/_version.py - if: github.ref != 'refs/heads/master' + if: github.ref != 'refs/heads/main' - name: Install pypa/build run: >- diff --git a/CHANGELOG.md b/CHANGELOG.md index bb4c734..fe18e1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Version 0.3.2 - Add testing pipeline. +- Fix publishing pipeline (was only publishing dev versions) ## Version 0.3.1 - Add pipelines for publishing to `pypi`, `testpypi`.