mirror of
https://github.com/sayanarijit/xplr
synced 2024-11-10 07:10:45 +00:00
Update version
This commit is contained in:
parent
35c18a25dc
commit
af5a99328f
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1111,7 +1111,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
||||
|
||||
[[package]]
|
||||
name = "xplr"
|
||||
version = "0.14.4"
|
||||
version = "0.14.5"
|
||||
dependencies = [
|
||||
"ansi-to-tui",
|
||||
"anyhow",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "xplr"
|
||||
version = "0.14.4" # Update lua.rs
|
||||
version = "0.14.5" # Update lua.rs
|
||||
authors = ["Arijit Basu <sayanarijit@gmail.com>"]
|
||||
edition = "2018"
|
||||
description = "A hackable, minimal, fast TUI file explorer"
|
||||
|
@ -46,7 +46,7 @@ compatibility.
|
||||
|
||||
### Instructions
|
||||
|
||||
#### [v0.13.7][2] -> [v0.14.4][3]
|
||||
#### [v0.13.7][2] -> [v0.14.5][3]
|
||||
|
||||
- macOS users need to place their config file (`init.lua`) in
|
||||
`$HOME/.config/xplr/` or `/etc/xplr/`.
|
||||
@ -220,7 +220,7 @@ Else do the following:
|
||||
|
||||
[1]:#instructions
|
||||
[2]:https://github.com/sayanarijit/xplr/releases/tag/v0.13.7
|
||||
[3]:https://github.com/sayanarijit/xplr/releases/tag/v0.14.4
|
||||
[3]:https://github.com/sayanarijit/xplr/releases/tag/v0.14.5
|
||||
[4]:https://github.com/sayanarijit/xplr/pull/229#issue-662426960
|
||||
[5]:contribute.md
|
||||
[6]:https://github.com/sayanarijit/xplr/releases/tag/v0.12.1
|
||||
|
12
src/lua.rs
12
src/lua.rs
@ -133,24 +133,24 @@ mod test {
|
||||
assert!(check_version(VERSION, "foo path").is_ok());
|
||||
|
||||
// Current release if OK
|
||||
assert!(check_version("0.14.4", "foo path").is_ok());
|
||||
assert!(check_version("0.14.5", "foo path").is_ok());
|
||||
|
||||
// Prev major release is ERR
|
||||
// - Not yet
|
||||
|
||||
// Prev minor release is ERR (Change when we get to v1)
|
||||
assert!(check_version("0.13.4", "foo path").is_err());
|
||||
assert!(check_version("0.13.5", "foo path").is_err());
|
||||
|
||||
// Prev bugfix release is OK
|
||||
assert!(check_version("0.14.3", "foo path").is_ok());
|
||||
assert!(check_version("0.14.4", "foo path").is_ok());
|
||||
|
||||
// Next major release is ERR
|
||||
assert!(check_version("1.14.4", "foo path").is_err());
|
||||
assert!(check_version("1.14.5", "foo path").is_err());
|
||||
|
||||
// Next minor release is ERR
|
||||
assert!(check_version("0.15.4", "foo path").is_err());
|
||||
assert!(check_version("0.15.5", "foo path").is_err());
|
||||
|
||||
// Next bugfix release is ERR (Change when we get to v1)
|
||||
assert!(check_version("0.14.5", "foo path").is_err());
|
||||
assert!(check_version("0.14.6", "foo path").is_err());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user