Compare commits
3 Commits
v10.1.0-rc
...
v10.1.0-cd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8731fd2b3f | ||
|
|
9233846479 | ||
|
|
94bdb8c3fd |
2
.github/workflows/release-cross.yml
vendored
2
.github/workflows/release-cross.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: 1.57.0
|
toolchain: stable
|
||||||
profile: minimal
|
profile: minimal
|
||||||
default: true
|
default: true
|
||||||
override: true
|
override: true
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: 1.57.0
|
toolchain: stable
|
||||||
profile: minimal
|
profile: minimal
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|||||||
@@ -245,7 +245,7 @@ impl Aura {
|
|||||||
|
|
||||||
impl ArchPackageManager for Aura {
|
impl ArchPackageManager for Aura {
|
||||||
fn upgrade(&self, ctx: &ExecutionContext) -> Result<()> {
|
fn upgrade(&self, ctx: &ExecutionContext) -> Result<()> {
|
||||||
let sudo = which("sudo").unwrap_or(PathBuf::new());
|
let sudo = which("sudo").unwrap_or_else(PathBuf::new);
|
||||||
let mut aur_update = ctx.run_type().execute(&sudo);
|
let mut aur_update = ctx.run_type().execute(&sudo);
|
||||||
|
|
||||||
if sudo.ends_with("sudo") {
|
if sudo.ends_with("sudo") {
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ pub fn run_in_tmux(args: Vec<String>) -> ! {
|
|||||||
shell_words::join(command)
|
shell_words::join(command)
|
||||||
};
|
};
|
||||||
|
|
||||||
let tmux = Tmux::new(args.clone());
|
let tmux = Tmux::new(args);
|
||||||
|
|
||||||
if !tmux.has_session("topgrade").expect("Error detecting a tmux session") {
|
if !tmux.has_session("topgrade").expect("Error detecting a tmux session") {
|
||||||
tmux.new_session("topgrade").expect("Error creating a tmux session");
|
tmux.new_session("topgrade").expect("Error creating a tmux session");
|
||||||
|
|||||||
Reference in New Issue
Block a user