From 337a6cc7184a828fe2cf2d31605c47ad4a833c13 Mon Sep 17 00:00:00 2001 From: Sebastian Echeverria Date: Fri, 10 Jan 2025 12:28:57 -0500 Subject: [PATCH] Versioning and build: minor improvements to doc and script --- build.sh | 2 +- docs/docs/development.md | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index 4eb265fd1..79a3c9b46 100644 --- a/build.sh +++ b/build.sh @@ -6,4 +6,4 @@ cd mlte/frontend/nuxt-app && npm run build cd ../../../ poetry build -twine check dist/* +poetry run twine check dist/* diff --git a/docs/docs/development.md b/docs/docs/development.md index 6f25e9afc..56a147be4 100644 --- a/docs/docs/development.md +++ b/docs/docs/development.md @@ -262,11 +262,7 @@ Bumping the version for a new release can be accomplished with: $ bumpversion patch ``` -where `patch` may be replaced with `minor` or `major` as appropriate for the release. You may need to use: - -```bash -$ bumpversion --allow-dirty patch -``` +where `patch` may be replaced with `minor` or `major` as appropriate for the release. Be sure to have no other pending changes or this may fail. Also, bupmversion will change all instances of the current version to the new one in the files it has been configured to do so, so if you have other text in these files which happens to match the current version, it will be incorrectly changed. Manually inspect changes after running this tool, and discard any incorrect ones. ### Publishing