Release v0.4.1

This patch release fixes an issue with the pager configuration.
This commit is contained in:
Robin Krahl 2020-10-11 22:40:03 +02:00
parent f9a0b2f579
commit 2c1b91462e
No known key found for this signature in database
GPG Key ID: 8E9B0870524F69D8
4 changed files with 11 additions and 10 deletions

View File

@ -5,7 +5,9 @@ SPDX-License-Identifier: MIT
# Changelog for rusty-man
## Unreleased
## v0.4.1 (2020-10-11)
This patch release fixes an issue with the pager configuration.
- Use the `LESS` environment variable to set the options for the pager.
- Add the `--pager` option to set the pager for the plain and rich viewers.

2
Cargo.lock generated
View File

@ -1108,7 +1108,7 @@ dependencies = [
[[package]]
name = "rusty-man"
version = "0.4.0"
version = "0.4.1"
dependencies = [
"anyhow",
"assert_cmd",

View File

@ -3,7 +3,7 @@
[package]
name = "rusty-man"
version = "0.4.0"
version = "0.4.1"
authors = ["Robin Krahl <robin.krahl@ireas.org>"]
edition = "2018"
description = "Command-line viewer for rustdoc documentation"

View File

@ -26,7 +26,7 @@ To compile rusty-man, you need Rust 1.40 or later.
```
2. Optional: Checkout the latest release:
```
$ git checkout v0.4.0
$ git checkout v0.4.1
```
3. Optional: Verify the signature of the latest commit:
```
@ -47,19 +47,18 @@ To compile rusty-man, you need Rust 1.40 or later.
1. Download the tarball for the latest rusty-man release (see the [release
list][]) and optionally its signature:
```
$ curl "https://git.sr.ht/~ireas/rusty-man/archive/v0.4.0.tar.gz" \
--output rusty-man-v0.4.0.tar.gz
$ curl -OJ "https://git.sr.ht/~ireas/rusty-man/archive/v0.4.1.tar.gz"
```
2. Optional: Download and verify the signature of the tarball:
```
$ curl "https://git.sr.ht/~ireas/rusty-man/refs/v0.4.0/rusty-man-v0.4.0.tar.gz.asc"
$ curl -O "https://git.sr.ht/~ireas/rusty-man/refs/v0.4.1/rusty-man-v0.4.1.tar.gz.asc"
$ curl -s "https://pgp.ireas.org/0x6D533958F070C57C.txt" | gpg --import
$ gpg --verify rusty-man-v0.4.0.tar.gz.asc
$ gpg --verify rusty-man-v0.4.1.tar.gz.asc
```
3. Extract the tarball:
```
$ tar -xf rusty-man-v0.4.0.tar.gz
$ cd rusty-man-v0.4.0
$ tar -xf rusty-man-v0.4.1.tar.gz
$ cd rusty-man-v0.4.1
```
4. Compile rusty-man:
```