Skip to content

Commit dd6f61d

Browse files
committed
Fix installer URLs
With b1e8366 (feat: rename cargo-dist => dist, 2024-12-17) the package name for `cargo-dist` was renamed to `dist`. This causes the `cargo-dist-schema` package to generate release URLs with `dist-installer.sh`, and the like, but elsewhere we have hard-coded the URLs as `cargo-dist-installer.sh`. Fix the installer URLs to use the correct path.
1 parent c8b72a2 commit dd6f61d

57 files changed

Lines changed: 262 additions & 262 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Žcargo-dist/src/backend/ci/mod.rsβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl DistInstallSettings<'_> {
9898
if let Some(url) = self.url_override.as_ref() {
9999
return DistInstallStrategy::Installer {
100100
installer_url: url.as_str().to_owned(),
101-
installer_name: "cargo-dist-installer".to_owned(),
101+
installer_name: "dist-installer".to_owned(),
102102
};
103103
}
104104

@@ -110,7 +110,7 @@ impl DistInstallSettings<'_> {
110110
} else if format.artifact_names_contain_versions() {
111111
format!("cargo-dist-v{version}-installer")
112112
} else {
113-
"cargo-dist-installer".to_owned()
113+
"dist-installer".to_owned()
114114
};
115115

116116
DistInstallStrategy::Installer {

β€Žcargo-dist/tests/cli-tests.rsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ fn generate_installer(version: &axotag::Version, release_type: ReleaseSourceType
234234
.unwrap()
235235
.join("target")
236236
.join("distrib")
237-
.join(format!("cargo-dist-installer{ext}"));
237+
.join(format!("dist-installer{ext}"));
238238
let installer_string = std::fs::read_to_string(&installer_path).unwrap();
239239

240240
let installer_url = match release_type {

β€Žcargo-dist/tests/snapshots/akaikatana_basic.snapβ€Ž

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žcargo-dist/tests/snapshots/akaikatana_musl.snapβ€Ž

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žcargo-dist/tests/snapshots/akaikatana_one_alias_among_many_binaries.snapβ€Ž

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žcargo-dist/tests/snapshots/akaikatana_two_bin_aliases.snapβ€Ž

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žcargo-dist/tests/snapshots/akaikatana_updaters.snapβ€Ž

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žcargo-dist/tests/snapshots/axolotlsay_abyss.snapβ€Ž

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)