fix(geni)

closes #5823
This commit is contained in:
Jacob Heider 2024-04-08 10:28:41 -04:00
parent 3cc79b8645
commit 950964af7f
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -14,9 +14,11 @@ build:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
script:
# 0.0.4 got released without a version bump
- run: sed -i -e 's/"0\.0\.3"/"{{version}}"/g' Cargo.toml src/main.rs
if: '=0.0.4'
# 0.0.4, 1.0.2 got released without a version bump
- run: sed -i -e 's/^version = ".*"/version = "{{version}}"/' Cargo.toml
- run: sed -i -e 's/"0\.0\.3"/"{{version}}"/' main.rs
working-directory: src
if: =0.0.4
- cargo install --locked --path . --root {{prefix}}
test: