Skip to content

Commit 5e30813

Browse files
committed
Fix flaky test on cosmic-app-arch, modify release-plz config
1 parent e176621 commit 5e30813

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arch-updates-rs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "arch-updates-rs"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55
license = "MIT"
66
description = "Library to query arch linux packaging tools to see if updates are available."

arch-updates-rs/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ struct PackageUrl<'a> {
130130
/// ```no_run
131131
/// # use arch_updates_rs::*;
132132
/// # async {
133-
/// let online = check_pacman_updates_online().await.unwrap();
133+
/// let updates = check_pacman_updates_online().await.unwrap();
134134
/// // Run `sudo pacman -Syu` in the terminal
135135
/// let updates = check_pacman_updates_online().await.unwrap();
136-
/// assert!(offline.is_empty());
136+
/// assert!(updates.is_empty());
137137
/// # };
138138
pub async fn check_pacman_updates_online() -> Result<Vec<Update>> {
139139
let output = Command::new("checkupdates")

release-plz.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
[workspace]
22
git_tag_name = "{{ package }}/v{{ version }}"
3+
publish = false
4+
semver_check = false
35

46
# disable cargo publish for comsic-applet-arch binary.
57
[[package]]
68
name = "cosmic-applet-arch"
7-
publish = false
8-
semver_check = false
9+
10+
# disable cargo publish for comsic-applet-arch binary.
11+
[[package]]
12+
name = "arch-updates-rs"
13+
publish = true
14+
semver_check = true
915

1016
[changelog]
1117
# This is based off the default, but adds breaking change description.

0 commit comments

Comments
 (0)