@@ -100,134 +100,6 @@ pub fn apply_dist_to_metadata(metadata: &mut toml_edit::Item, meta: &TomlLayer)
100100 installers:: apply ( table, installers) ;
101101 publishers:: apply ( table, publishers) ;
102102
103- // TODO(migration): make sure all of these are handled
104- /*
105-
106- apply_optional_value(
107- table,
108- "create-release",
109- "# Whether dist should create a Github Release or use an existing draft\n",
110- *create_release,
111- );
112-
113- apply_optional_value(
114- table,
115- "github-release",
116- "# Which phase dist should use to create the GitHub release\n",
117- github_release.as_ref().map(|a| a.to_string()),
118- );
119-
120- apply_optional_value(
121- table,
122- "github-releases-repo",
123- "# Publish GitHub Releases to this repo instead\n",
124- github_releases_repo.as_ref().map(|a| a.to_string()),
125- );
126-
127- apply_optional_value(
128- table,
129- "github-releases-submodule-path",
130- "# Read the commit to be tagged from the submodule at this path\n",
131- github_releases_submodule_path
132- .as_ref()
133- .map(|a| a.to_string()),
134- );
135-
136- apply_string_list(
137- table,
138- "local-artifacts-jobs",
139- "# Local artifacts jobs to run in CI\n",
140- local_artifacts_jobs.as_ref(),
141- );
142-
143- apply_string_list(
144- table,
145- "global-artifacts-jobs",
146- "# Global artifacts jobs to run in CI\n",
147- global_artifacts_jobs.as_ref(),
148- );
149-
150- apply_string_list(
151- table,
152- "host-jobs",
153- "# Host jobs to run in CI\n",
154- host_jobs.as_ref(),
155- );
156-
157- apply_string_list(
158- table,
159- "publish-jobs",
160- "# Publish jobs to run in CI\n",
161- publish_jobs.as_ref(),
162- );
163-
164- apply_string_list(
165- table,
166- "post-announce-jobs",
167- "# Post-announce jobs to run in CI\n",
168- post_announce_jobs.as_ref(),
169- );
170-
171- apply_optional_value(
172- table,
173- "publish-prereleases",
174- "# Whether to publish prereleases to package managers\n",
175- *publish_prereleases,
176- );
177-
178- apply_optional_value(
179- table,
180- "force-latest",
181- "# Always mark releases as latest, ignoring semver semantics\n",
182- *force_latest,
183- );
184-
185- apply_optional_value(
186- table,
187- "github-attestations",
188- "# Whether to enable GitHub Attestations\n",
189- *github_attestations,
190- );
191-
192- apply_string_or_list(
193- table,
194- "hosting",
195- "# Where to host releases\n",
196- hosting.as_ref(),
197- );
198-
199- apply_optional_value(
200- table,
201- "install-updater",
202- "# Whether to install an updater program\n",
203- *install_updater,
204- );
205-
206- apply_optional_value(
207- table,
208- "always-use-latest-updater",
209- "# Whether to always use the latest updater instead of a specific known-good version\n",
210- *always_use_latest_updater,
211- );
212-
213- apply_optional_value(
214- table,
215- "display",
216- "# Whether to display this app's installers/artifacts in release bodies\n",
217- *display,
218- );
219-
220- apply_optional_value(
221- table,
222- "display-name",
223- "# Custom display name to use for this app in release bodies\n",
224- display_name.as_ref(),
225- );
226-
227-
228-
229- */
230-
231103 // Finalize the table
232104 table. decor_mut ( ) . set_prefix ( "\n # Config for 'dist'\n " ) ;
233105}
0 commit comments