From acefd963e882e6c8ecd3d7781a0f7f17117d0862 Mon Sep 17 00:00:00 2001 From: Marian Date: Sun, 28 Apr 2024 12:04:09 +0100 Subject: [PATCH] Echo new version correctly. --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index b220fa3..af56767 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -83,7 +83,7 @@ jobs: OLD_VERSION=$(git diff HEAD^ HEAD -- pyproject.toml | grep -Po '(?<=version = ")[^"]*') echo "old version: $OLD_VERSION" NEW_VERSION=$(grep -Po '(?<=version = ")[^"]*' pyproject.toml) - echo "new version: NEW_VERSION" + echo "new version: $NEW_VERSION" if [[ "$OLD_VERSION" != "$NEW_VERSION" ]]; then echo "Version changed from $OLD_VERSION to $NEW_VERSION." echo "::set-output name=should_publish::true"