Skip to content

Commit

Permalink
fix(self_update): show --version param
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed May 2, 2024
1 parent e5368f7 commit aa1e180
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .mise/tasks/test/coverage
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ if [[ "${TEST_TRANCHE:-}" == 0 ]]; then
mise implode
elif [[ "${TEST_TRANCHE:-}" == 1 ]]; then
echo "::group::Self update"
mise self-update -fy
# TODO: find a way to use a "recentish" version, but not the latest because it may not be a full release
mise self-update -fy --version 2024.5.0
fi
echo "::group::Render lcov report"
cargo llvm-cov report --lcov --output-path lcov.info
1 change: 1 addition & 0 deletions src/cli/self_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pub struct SelfUpdate {
yes: bool,

/// Update to a specific version
#[clap(long)]
version: Option<String>,
}

Expand Down

0 comments on commit aa1e180

Please sign in to comment.