Skip to content

Commit

Permalink
Add just task for bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Mar 14, 2024
1 parent 0a08fe8 commit 1180eea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1180eea

Please sign in to comment.