Skip to content

Commit

Permalink
Release v4.2.0 (#24)
Browse files Browse the repository at this point in the history
* Update workflows

* Release `v4.2.0`
  • Loading branch information
aurexav authored Nov 15, 2022
1 parent 26ef3fd commit 59d9c84
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 10 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@ jobs:
steps:
- name: Fetch latest code
uses: actions/checkout@v3
- name: Install Rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
default: true
- name: Cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --all --all-features
args: --workspace --all-features --all-targets --locked
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"

env:
CARGO_TERM_COLOR: always

jobs:
publish-on-crates-io:
name: Publish on crates.io
runs-on: ubuntu-latest
steps:
- name: Fetch latest code
uses: actions/checkout@v3
- name: Login
run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish
uses: actions-rs/cargo@v1
with:
command: publish
args: publish --locked
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v4.2.0
- Bump dependencies.
- Update CI.
- Update license.

## v4.1.0
- Mark `hex_bytes2hex_str_unchecked` as unsafe.

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
Expand Up @@ -18,7 +18,7 @@ license = "Apache-2.0/GPL-3.0"
name = "array-bytes"
readme = "README.md"
repository = "https://github.com/hack-ink/array-bytes"
version = "4.1.0"
version = "4.2.0"

[badges]
maintenance = { status = "actively-developed" }
Expand Down
4 changes: 2 additions & 2 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ edition = "2021"
metadata = { cargo-fuzz = true }
name = "array-bytes-fuzz"
publish = false
version = "4.1.0"
version = "4.2.0"

[dependencies]
array-bytes = { version = "4.1", path = ".." }
array-bytes = { version = "4.2", path = ".." }
libfuzzer-sys = { version = "0.4" }

[workspace]
Expand Down

0 comments on commit 59d9c84

Please sign in to comment.