fix(repo): Simplify version bumping
Bump and read version in one step instead of multiple poetry calls.
This commit is contained in:
parent
6c45e9dd7c
commit
12ef4e39cd
1 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue