From 12ef4e39cdb2e89a7f12318e2ac533d560bbad18 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 6 Jan 2024 10:51:23 +0100 Subject: [PATCH] fix(repo): Simplify version bumping Bump and read version in one step instead of multiple poetry calls. --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b992aee..8b52d0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,8 +48,7 @@ help = "Extract, render, commit and version a finished artifact" shell = """ quarto render --output-dir 05-final_paper poe extract -poetry version minor -VERSION="$(poetry version -s)" +VERSION="$(poetry version -s minor)" git add pyproject.toml 02-data 05-final_paper git commit -m "Publish version $VERSION" git tag -a -m "new bundle for $(date -Isecond)" "$VERSION"