Skip to content

Commit

Permalink
fix(topgrade)
Browse files Browse the repository at this point in the history
 closes #7547
  • Loading branch information
jhheider committed Oct 7, 2024
1 parent 0eb756d commit 8cb721f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion projects/crates.io/topgrade/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ build:
script: cargo install --locked --path . --root {{prefix}}

test:
- test "$(topgrade --version)" = "Topgrade {{version}}"
- run: test "$(topgrade --version)" = "Topgrade {{version}}"
if: <16
- run: test "$(topgrade --version)" = "topgrade {{version}}"
if: '>=16'
# prevents an unskippable prompt
- run: echo -n {{version}} > topgrade_keep
working-directory: $HOME/.local/share
Expand Down

0 comments on commit 8cb721f

Please sign in to comment.