Skip to content

Commit

Permalink
Fix pgp publishing attempt 4
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit committed Jun 5, 2021
1 parent 7e35ff4 commit 9a22c8b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
VERSION=${GITHUB_REF##*v}
git archive -o xplr-${VERSION:?}.tar.gz --format tar.gz --prefix "xplr-${VERSION:?}/" "v${VERSION}"
cat <(echo "${{ secrets.GPG_PASS }}") | gpg --pinentry-mode loopback --passphrase-fd 0 --detach-sign --armor "xplr-${VERSION:?}.tar.gz"
mv "xplr-${VERSION:?}.tar.gz.ssc" "source.tar.gz.asc"
mv "xplr-${VERSION:?}.tar.gz.asc" "source.tar.gz.asc"
- name: Releasing GPG signature
uses: softprops/action-gh-release@v1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xplr"
version = "0.13.4" # Update lua.rs
version = "0.13.5" # Update lua.rs
authors = ["Arijit Basu <[email protected]>"]
edition = "2018"
description = "A hackable, minimal, fast TUI file explorer"
Expand Down
9 changes: 5 additions & 4 deletions src/lua.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,11 @@ mod test {
assert!(check_version("0.13.2", "foo path").is_ok());
assert!(check_version("0.13.3", "foo path").is_ok());
assert!(check_version("0.13.4", "foo path").is_ok());
assert!(check_version("0.13.5", "foo path").is_ok());

assert!(check_version("0.13.5", "foo path").is_err());
assert!(check_version("0.14.4", "foo path").is_err());
assert!(check_version("0.11.4", "foo path").is_err());
assert!(check_version("1.13.4", "foo path").is_err());
assert!(check_version("0.13.6", "foo path").is_err());
assert!(check_version("0.14.5", "foo path").is_err());
assert!(check_version("0.11.5", "foo path").is_err());
assert!(check_version("1.13.5", "foo path").is_err());
}
}

0 comments on commit 9a22c8b

Please sign in to comment.