Skip to content

Commit

Permalink
master at version 0.9.0-master
Browse files Browse the repository at this point in the history
  • Loading branch information
LGFae committed Mar 23, 2024
1 parent f2ea5a7 commit 9c58d6e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ default-members = [".", "daemon"]

[package]
name = "swww"
version = "0.9.0"
version = "0.9.0-master"
authors = ["Leonardo Gibrowski Faé <leonardo.fae44@gmail.com>"]
edition = "2021"
# we use `std::cell::OnceLock` which was stabilized in 1.70
rust-version = "1.74"

# Enable some optimizations in debug mode. Otherwise, it is a pain to test it
Expand Down Expand Up @@ -35,7 +34,7 @@ image = "0.25"
fast_image_resize = "3.0"
clap = { version = "4.5", features = ["derive", "wrap_help", "env"] }
rand = "0.8"
utils = { version = "0.9.0", path = "utils" }
utils = { version = "0.9.0-master", path = "utils" }

[dev-dependencies]
assert_cmd = "2.0"
Expand Down
4 changes: 2 additions & 2 deletions daemon/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "swww-daemon"
version = "0.9.0"
version = "0.9.0-master"
authors = ["Leonardo Gibrowski Faé <leonardo.fae44@gmail.com>"]
edition = "2021"

Expand All @@ -21,6 +21,6 @@ spin_sleep = "1.2"

sd-notify = { version = "0.4.1" }

utils = { version = "0.9.0", path = "../utils" }
utils = { version = "0.9.0-master", path = "../utils" }
[dev-dependencies]
rand = "0.8"
2 changes: 1 addition & 1 deletion utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "utils"
version = "0.9.0"
version = "0.9.0-master"
authors = ["Leonardo Gibrowski Faé <leonardo.fae44@gmail.com>"]
edition = "2021"
license-file = "../LICENSE"
Expand Down
10 changes: 8 additions & 2 deletions version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,19 @@ cargo test --workspace -- --include-ignored
./doc/gen.sh # make sure the docs "compile"

# Cargo.toml:
sed "s/^version = .*/version = \"$1\"/" Cargo.toml > TMP
sed \
-e "s/^version = .*/version = \"$1\"/" \
-e "s/^utils.*/utils = { version = \"$1\", path = \"utils\" }/" \
Cargo.toml > TMP
mv -v TMP Cargo.toml

sed "s/^version = .*/version = \"$1\"/" utils/Cargo.toml > TMP
mv -v TMP utils/Cargo.toml

sed "s/^version = .*/version = \"$1\"/" daemon/Cargo.toml > TMP
sed \
-e "s/^version = .*/version = \"$1\"/" \
-e "s/^utils.*/utils = { version = \"$1\", path = \"..\/utils\" }/" \
daemon/Cargo.toml > TMP
mv -v TMP daemon/Cargo.toml

# CHANGELOG:
Expand Down

0 comments on commit 9c58d6e

Please sign in to comment.