Skip to content

Commit 59d9c84

Browse files
authored
Release v4.2.0 (#24)
* Update workflows * Release `v4.2.0`
1 parent 26ef3fd commit 59d9c84

File tree

6 files changed

+34
-10
lines changed

6 files changed

+34
-10
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,8 @@ jobs:
1414
steps:
1515
- name: Fetch latest code
1616
uses: actions/checkout@v3
17-
- name: Install Rust nightly toolchain
18-
uses: actions-rs/toolchain@v1
19-
with:
20-
toolchain: nightly
21-
default: true
2217
- name: Cargo test
2318
uses: actions-rs/cargo@v1
2419
with:
2520
command: test
26-
args: --all --all-features
21+
args: --workspace --all-features --all-targets --locked

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release
2+
on:
3+
push:
4+
tags:
5+
- "v[0-9]+.[0-9]+.[0-9]+"
6+
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"
7+
8+
env:
9+
CARGO_TERM_COLOR: always
10+
11+
jobs:
12+
publish-on-crates-io:
13+
name: Publish on crates.io
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Fetch latest code
17+
uses: actions/checkout@v3
18+
- name: Login
19+
run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
20+
- name: Publish
21+
uses: actions-rs/cargo@v1
22+
with:
23+
command: publish
24+
args: publish --locked

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## v4.2.0
2+
- Bump dependencies.
3+
- Update CI.
4+
- Update license.
5+
16
## v4.1.0
27
- Mark `hex_bytes2hex_str_unchecked` as unsafe.
38

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ license = "Apache-2.0/GPL-3.0"
1818
name = "array-bytes"
1919
readme = "README.md"
2020
repository = "https://github.com/hack-ink/array-bytes"
21-
version = "4.1.0"
21+
version = "4.2.0"
2222

2323
[badges]
2424
maintenance = { status = "actively-developed" }

fuzz/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ edition = "2021"
44
metadata = { cargo-fuzz = true }
55
name = "array-bytes-fuzz"
66
publish = false
7-
version = "4.1.0"
7+
version = "4.2.0"
88

99
[dependencies]
10-
array-bytes = { version = "4.1", path = ".." }
10+
array-bytes = { version = "4.2", path = ".." }
1111
libfuzzer-sys = { version = "0.4" }
1212

1313
[workspace]

0 commit comments

Comments
 (0)