From 1b9227fc59d906c48b47b01d6ca391567e08c03e Mon Sep 17 00:00:00 2001 From: Christopher Carroll Smith Date: Tue, 21 May 2024 20:45:41 -0700 Subject: [PATCH] fix: Non-incremented version throws a warning but not an error --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8530c46..c8de0a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,5 +27,6 @@ jobs: run: | poetry publish --build -u __token__ -p $PYPI_TOKEN if [ $? -ne 0 ]; then - echo "Warning: Version has not been incremented. No new version published." + echo "::warning::Version has not been incremented. No new version published." + exit 0 fi \ No newline at end of file