mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +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<()> {
|
||||
if !dry_run {
|
||||
run!("git switch release")?;
|
||||
run!("git fetch upstream")?;
|
||||
run!("git reset --hard upstream/master")?;
|
||||
run!("git fetch upstream --tags --force")?;
|
||||
run!("git reset --hard tags/nightly")?;
|
||||
run!("git push")?;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue