From 1180eea00187416bc0da8258669eae5ad5277300 Mon Sep 17 00:00:00 2001 From: Pirmin Kalberer Date: Thu, 14 Mar 2024 16:04:52 +0100 Subject: [PATCH] Add just task for bumping version --- docs/justfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/justfile b/docs/justfile index 6f36d43f..6e68f614 100644 --- a/docs/justfile +++ b/docs/justfile @@ -12,8 +12,13 @@ build: serve: mdbook serve --open --port 8321 -# Update version in downlad urls +# Update version cargo files update-version version: + sed --in-place 's/^version = ".*/version = "{{version}}"/g' ../bbox-core/Cargo.toml ../bbox-server/Cargo.toml ../bbox-processes-server/Cargo.toml ../bbox-tile-server/Cargo.toml ../bbox-map-server/Cargo.toml ../bbox-feature-server/Cargo.toml ../bbox-frontend/Cargo.toml + cd .. && cargo build + +# Update version in downlad urls +update-version-doc version: sed --in-place s!download/v.*/!download/{{version}}/!g src/installation.md rustdoc: