From facd3f9bce7da72835950d3276e28198ebf40e8b Mon Sep 17 00:00:00 2001 From: Wouter Date: Tue, 24 Oct 2023 10:18:23 +0200 Subject: [PATCH] mention version in commit message --- .github/workflows/bump_version.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index b2d7ac9a..a02a68d2 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -33,7 +33,8 @@ jobs: sed -i "1 s/.*/version: $PROJECT_VERSION/" template_input.yaml - name: commit changes run: | + PROJECT_VERSION=$(poetry version --short) git add template_input.yaml git add pyproject.toml - git commit -m "bump up patch version from workflow: version {{ $PROJECT_VERSION }}" + git commit -m "bump up patch version: $PROJECT_VERSION" git push