mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
When making a release, just promote the latest nightly
This commit is contained in:
parent
9c482f4a21
commit
372e684f6e
1 changed files with 2 additions and 2 deletions
|
@ -172,8 +172,8 @@ pub fn run_pre_cache() -> Result<()> {
|
||||||
pub fn run_release(dry_run: bool) -> Result<()> {
|
pub fn run_release(dry_run: bool) -> Result<()> {
|
||||||
if !dry_run {
|
if !dry_run {
|
||||||
run!("git switch release")?;
|
run!("git switch release")?;
|
||||||
run!("git fetch upstream")?;
|
run!("git fetch upstream --tags --force")?;
|
||||||
run!("git reset --hard upstream/master")?;
|
run!("git reset --hard tags/nightly")?;
|
||||||
run!("git push")?;
|
run!("git push")?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue