11095: internal: Disable unstable APIs for nightly releases r=lnicola a=lnicola

bors r+

The Marketplace doesn't allow us to publish extensions using these, even as pre-release versions.

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
bors[bot] 2021-12-22 07:21:49 +00:00 committed by GitHub
commit d859227ab2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,9 +63,7 @@ fn dist_client(version: &str, release_tag: &str, target: &Target) -> Result<()>
r#""displayName": "rust-analyzer (nightly)""#,
);
}
if !nightly {
patch.replace(r#""enableProposedApi": true,"#, r#""#);
}
patch.replace(r#""enableProposedApi": true,"#, r#""#);
patch.commit()?;
Ok(())