Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update bootstrap to include v3light #2546

Merged
merged 1 commit into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bootstrap/bootstrap/src/bootstrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub fn install(cfg: &config::Config) -> Result<()> {
let mut listname = runmode.clone();
match cfg.version {
Version::V3 => {}
Version::V4 => listname = format!("{}-v4", runmode),
Version::V3Light => listname = format!("{}-v3light", runmode),
}
// we need to list all taglinks
let mut tag = None;
Expand Down
4 changes: 2 additions & 2 deletions bootstrap/bootstrap/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl Display for RunMode {
#[derive(Debug)]
pub enum Version {
V3,
V4,
V3Light,
}

fn runmode() -> Result<RunMode> {
Expand Down Expand Up @@ -65,7 +65,7 @@ fn version() -> Result<Version> {
Some(input) => match input {
Some(input) => match input.as_ref() {
"v3" => Version::V3,
"v4" => Version::V4,
"v3light" => Version::V3Light,
m => {
bail!("unknown version: {}", m);
}
Expand Down
Loading