Fix CD (try again)

pull/414/head v0.16.3
Arijit Basu 3 years ago committed by Arijit Basu
parent 0443c103e7
commit d2c5f49835

@ -15,7 +15,7 @@ jobs:
os:
- macos-latest
- ubuntu-latest
- ubuntu-latest
- ubuntu-20.04
rust: [stable]
include:
- os: macos-latest
@ -26,7 +26,7 @@ jobs:
artifact_prefix: linux
target: x86_64-unknown-linux-gnu
binary_postfix: ''
- os: ubuntu-latest
- os: ubuntu-20.04
artifact_prefix: linux-musl
target: x86_64-unknown-linux-musl
binary_postfix: ''
@ -43,7 +43,7 @@ jobs:
if: matrix.os == 'macos-latest'
run: brew install openssl@1.1
- name: Installing needed Ubuntu dependencies
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y -qq pkg-config libssl-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev

@ -29,7 +29,7 @@ jobs:
os:
- macos-latest
- ubuntu-latest
- ubuntu-latest
- ubuntu-20.04
rust: [stable]
include:
- os: macos-latest
@ -40,7 +40,7 @@ jobs:
artifact_prefix: linux
target: x86_64-unknown-linux-gnu
binary_postfix: ''
- os: ubuntu-latest
- os: ubuntu-20.04
artifact_prefix: linux-musl
target: x86_64-unknown-linux-musl
binary_postfix: ''
@ -62,7 +62,7 @@ jobs:
run: brew install openssl@1.1
- name: Installing needed Ubuntu dependencies
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y -qq pkg-config libssl-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev

2
Cargo.lock generated

@ -1112,7 +1112,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "xplr"
version = "0.16.2"
version = "0.16.3"
dependencies = [
"ansi-to-tui",
"anyhow",

@ -1,6 +1,6 @@
[package]
name = "xplr"
version = "0.16.2" # Update lua.rs
version = "0.16.3" # Update lua.rs
authors = ["Arijit Basu <sayanarijit@gmail.com>"]
edition = "2018"
description = "A hackable, minimal, fast TUI file explorer"

@ -45,7 +45,7 @@ compatibility.
### Instructions
#### [v0.15.2][43] -> [v0.16.2][44]
#### [v0.15.2][43] -> [v0.16.3][44]
- Deprecated `config.general.cursor`. The default terminal cursor will be used
for the time being.
@ -299,4 +299,4 @@ Else do the following:
[41]: https://github.com/sayanarijit/xplr/releases/tag/v0.3.0
[42]: https://github.com/sayanarijit/xplr/releases/tag/v0.14.4
[43]: https://github.com/sayanarijit/xplr/releases/tag/v0.15.2
[44]: https://github.com/sayanarijit/xplr/releases/tag/v0.16.2
[44]: https://github.com/sayanarijit/xplr/releases/tag/v0.16.3

@ -141,24 +141,24 @@ mod tests {
assert!(check_version(VERSION, "foo path").is_ok());
// Current release if OK
assert!(check_version("0.16.2", "foo path").is_ok());
assert!(check_version("0.16.3", "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.15.2", "foo path").is_err());
assert!(check_version("0.15.3", "foo path").is_err());
// Prev bugfix release is OK
assert!(check_version("0.16.1", "foo path").is_ok());
assert!(check_version("0.16.2", "foo path").is_ok());
// Next major release is ERR
assert!(check_version("1.16.2", "foo path").is_err());
assert!(check_version("1.16.3", "foo path").is_err());
// Next minor release is ERR
assert!(check_version("0.17.2", "foo path").is_err());
assert!(check_version("0.17.3", "foo path").is_err());
// Next bugfix release is ERR (Change when we get to v1)
assert!(check_version("0.16.3", "foo path").is_err());
assert!(check_version("0.16.4", "foo path").is_err());
}
}

Loading…
Cancel
Save