mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
Geni: Changed so pkgx don't change src/main.rs if version is more then 0.0.3 (#4683)
* upgraded pantry package * updated package.yml * updated * /releases/tags is default behavior * removed if for version over 0.0.4 * added a v for testing * = --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
1d268a9358
commit
f45c514222
|
@ -16,9 +16,9 @@ build:
|
||||||
script:
|
script:
|
||||||
# 0.0.4 got released without a version bump
|
# 0.0.4 got released without a version bump
|
||||||
- run: sed -i -e 's/"0\.0\.3"/"{{version}}"/g' Cargo.toml src/main.rs
|
- run: sed -i -e 's/"0\.0\.3"/"{{version}}"/g' Cargo.toml src/main.rs
|
||||||
if: '>=0.0.3'
|
if: '=0.0.4'
|
||||||
- cargo install --locked --path . --root {{prefix}}
|
- cargo install --locked --path . --root {{prefix}}
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
- test "$(geni --version)" = "geni {{version}}"
|
- test "$(geni --version)" = "geni v{{version}}"
|
||||||
|
|
Loading…
Reference in a new issue