Version set to 0.2.1
This commit is contained in:
parent
ba6e2b0ab9
commit
17584cba0f
4 changed files with 18 additions and 5 deletions
|
@ -35,7 +35,8 @@ steps:
|
|||
commands:
|
||||
- wget https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||
- cp cargo-binstall /usr/local/cargo/bin
|
||||
- rm cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||
- mv cargo-binstall /usr/local/cargo/bin
|
||||
- cargo binstall -y cargo-machete
|
||||
- cargo machete
|
||||
|
||||
|
@ -90,7 +91,7 @@ steps:
|
|||
image: *rust_image
|
||||
commands:
|
||||
- cargo login "$CARGO_REGISTRY_TOKEN"
|
||||
- cargo publish --registry crates-io --no-verify --allow-branch "${CI_COMMIT_TAG}" --yes
|
||||
secrets: [cargo_api_token]
|
||||
- cargo publish --registry crates-io --no-verify
|
||||
secrets: [cargo_registry_token]
|
||||
when:
|
||||
event: tag
|
||||
|
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -122,7 +122,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "skip"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
dependencies = [
|
||||
"clap",
|
||||
]
|
||||
|
|
10
Cargo.toml
10
Cargo.toml
|
@ -1,7 +1,15 @@
|
|||
[package]
|
||||
name = "skip"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
edition = "2021"
|
||||
authors = ["Paul Campbell <pcampbell@kemitix.net>"]
|
||||
categories = ["command-line-utilities"]
|
||||
description = "Skip lines in a file"
|
||||
license = "MIT"
|
||||
repository = "https://git.kemitix.net/kemitix/skip"
|
||||
keywords = ["skip", "lines", "file", "text", "utility"]
|
||||
rust-version = "1.74.1"
|
||||
exclude = [".cargo_home"]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
|
|
@ -9,6 +9,10 @@ As `head` will show the top of a file after a number of line,
|
|||
Additionally, it can check for whole lines matching,
|
||||
or for a token being present on the line.
|
||||
|
||||
N.B.: The `skip` crate used to be an implementation of [Skip list](https://en.wikipedia.org/wiki/Skip_list),
|
||||
by [Luo Jia / Zhouqi Jiang](https://github.com/luojia65) ([source](https://github.com/luojia65/skip)).
|
||||
That crate will be republished as [skip-list](https://crates.io/crates/skip-list) (soon).
|
||||
|
||||
## Usage
|
||||
|
||||
### Skip a fixed number of lines
|
||||
|
|
Loading…
Reference in a new issue