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 = """
|
shell = """
|
||||||
quarto render --output-dir 05-final_paper
|
quarto render --output-dir 05-final_paper
|
||||||
poe extract
|
poe extract
|
||||||
poetry version minor
|
VERSION="$(poetry version -s minor)"
|
||||||
VERSION="$(poetry version -s)"
|
|
||||||
git add pyproject.toml 02-data 05-final_paper
|
git add pyproject.toml 02-data 05-final_paper
|
||||||
git commit -m "Publish version $VERSION"
|
git commit -m "Publish version $VERSION"
|
||||||
git tag -a -m "new bundle for $(date -Isecond)" "$VERSION"
|
git tag -a -m "new bundle for $(date -Isecond)" "$VERSION"
|
||||||
|
|
Loading…
Reference in a new issue