mirror of
https://github.com/sayanarijit/xplr
synced 2024-11-04 18:00:14 +00:00
Downgrade version for the docs
Upgrade version when just before making a new release, else the doc will link to invalid release.
This commit is contained in:
parent
bec80e98df
commit
9982a205db
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1091,7 +1091,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "xplr"
|
name = "xplr"
|
||||||
version = "0.15.1"
|
version = "0.15.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi-to-tui",
|
"ansi-to-tui",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "xplr"
|
name = "xplr"
|
||||||
version = "0.15.1" # Update lua.rs
|
version = "0.15.0" # Update lua.rs
|
||||||
authors = ["Arijit Basu <sayanarijit@gmail.com>"]
|
authors = ["Arijit Basu <sayanarijit@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "A hackable, minimal, fast TUI file explorer"
|
description = "A hackable, minimal, fast TUI file explorer"
|
||||||
|
@ -45,7 +45,7 @@ compatibility.
|
|||||||
|
|
||||||
### Instructions
|
### Instructions
|
||||||
|
|
||||||
#### [v0.14.7][3] -> [v0.15.1][43]
|
#### [v0.14.7][3] -> [v0.15.0][43]
|
||||||
|
|
||||||
- Deprecated `config` field from `CallLua` argument. Use the globally available
|
- Deprecated `config` field from `CallLua` argument. Use the globally available
|
||||||
`xplr.config` instead.
|
`xplr.config` instead.
|
||||||
@ -277,4 +277,4 @@ Else do the following:
|
|||||||
[40]: https://github.com/sayanarijit/xplr/releases/tag/v0.3.8
|
[40]: https://github.com/sayanarijit/xplr/releases/tag/v0.3.8
|
||||||
[41]: https://github.com/sayanarijit/xplr/releases/tag/v0.3.0
|
[41]: https://github.com/sayanarijit/xplr/releases/tag/v0.3.0
|
||||||
[42]: https://github.com/sayanarijit/xplr/releases/tag/v0.14.4
|
[42]: https://github.com/sayanarijit/xplr/releases/tag/v0.14.4
|
||||||
[43]: https://github.com/sayanarijit/xplr/releases/tag/v0.15.1
|
[43]: https://github.com/sayanarijit/xplr/releases/tag/v0.15.0
|
||||||
|
12
src/lua.rs
12
src/lua.rs
@ -133,25 +133,25 @@ mod test {
|
|||||||
assert!(check_version(VERSION, "foo path").is_ok());
|
assert!(check_version(VERSION, "foo path").is_ok());
|
||||||
|
|
||||||
// Current release if OK
|
// Current release if OK
|
||||||
assert!(check_version("0.15.1", "foo path").is_ok());
|
assert!(check_version("0.15.0", "foo path").is_ok());
|
||||||
|
|
||||||
// Prev major release is ERR
|
// Prev major release is ERR
|
||||||
// - Not yet
|
// - Not yet
|
||||||
|
|
||||||
// Prev minor release is ERR (Change when we get to v1)
|
// Prev minor release is ERR (Change when we get to v1)
|
||||||
assert!(check_version("0.14.1", "foo path").is_err());
|
assert!(check_version("0.14.0", "foo path").is_err());
|
||||||
|
|
||||||
// Prev bugfix release is OK
|
// Prev bugfix release is OK
|
||||||
assert!(check_version("0.15.0", "foo path").is_ok());
|
// assert!(check_version("0.15.-1", "foo path").is_ok());
|
||||||
|
|
||||||
// Next major release is ERR
|
// Next major release is ERR
|
||||||
assert!(check_version("1.15.1", "foo path").is_err());
|
assert!(check_version("1.15.0", "foo path").is_err());
|
||||||
|
|
||||||
// Next minor release is ERR
|
// Next minor release is ERR
|
||||||
assert!(check_version("0.16.1", "foo path").is_err());
|
assert!(check_version("0.16.0", "foo path").is_err());
|
||||||
|
|
||||||
// Next bugfix release is ERR (Change when we get to v1)
|
// Next bugfix release is ERR (Change when we get to v1)
|
||||||
assert!(check_version("0.15.2", "foo path").is_err());
|
assert!(check_version("0.15.1", "foo path").is_err());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user