From d2c5f498351e71a83b0878d6cd5a54b174ad4665 Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Wed, 10 Nov 2021 10:09:27 +0530 Subject: [PATCH] Fix CD (try again) --- .github/workflows/cd.yml | 6 +++--- .github/workflows/ci.yml | 6 +++--- Cargo.lock | 2 +- Cargo.toml | 2 +- docs/en/src/upgrade-guide.md | 4 ++-- src/lua.rs | 12 ++++++------ 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a0a0755..b6728db 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56c4fc8..ae118dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Cargo.lock b/Cargo.lock index 7531bee..5b56fe1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1112,7 +1112,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "xplr" -version = "0.16.2" +version = "0.16.3" dependencies = [ "ansi-to-tui", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index b7fe8a4..d9e6eb2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xplr" -version = "0.16.2" # Update lua.rs +version = "0.16.3" # Update lua.rs authors = ["Arijit Basu "] edition = "2018" description = "A hackable, minimal, fast TUI file explorer" diff --git a/docs/en/src/upgrade-guide.md b/docs/en/src/upgrade-guide.md index 5997e9b..2c3ea1d 100644 --- a/docs/en/src/upgrade-guide.md +++ b/docs/en/src/upgrade-guide.md @@ -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 diff --git a/src/lua.rs b/src/lua.rs index 07b13f7..dad94a2 100644 --- a/src/lua.rs +++ b/src/lua.rs @@ -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()); } }