Skip to content

Commit

Permalink
Release abcrypt version 0.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake committed Nov 29, 2023
2 parents 6d55525 + 74fb879 commit 19200b3
Show file tree
Hide file tree
Showing 146 changed files with 559 additions and 518 deletions.
6 changes: 3 additions & 3 deletions .bumpversion-capi.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[bumpversion]
current_version = 0.2.1

[bumpversion:file:crate/capi/examples/meson.build]
[bumpversion:file:crates/capi/examples/meson.build]

[bumpversion:file:crate/capi/examples/version.cpp]
[bumpversion:file:crates/capi/examples/version.cpp]

[bumpversion:file:crate/capi/src/lib.rs]
[bumpversion:file:crates/capi/src/lib.rs]
10 changes: 5 additions & 5 deletions .bumpversion-lib.cfg
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[bumpversion]
current_version = 0.2.6
current_version = 0.2.7

[bumpversion:file:crate/abcrypt/README.md]
[bumpversion:file:crates/abcrypt/README.md]

[bumpversion:file:crate/abcrypt/src/lib.rs]
[bumpversion:file:crates/abcrypt/src/lib.rs]

[bumpversion:file:doc/book/modules/lib/pages/usage.adoc]
[bumpversion:file:docs/book/modules/lib/pages/usage.adoc]

[bumpversion:file:doc/FORMAT.adoc]
[bumpversion:file:docs/FORMAT.adoc]
10 changes: 5 additions & 5 deletions .github/workflows/CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ jobs:
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: 1.65.0 # MSRV
toolchain: stable
targets: ${{ matrix.target }}
- name: Install cross
if: ${{ matrix.use-cross }}
uses: taiki-e/[email protected].7
uses: taiki-e/[email protected].21
with:
tool: cross
- name: Cache build artifacts
Expand Down Expand Up @@ -118,10 +118,10 @@ jobs:
fi
package="abcrypt-${{ steps.extracted_version.outputs.version }}-${{ matrix.target }}"
mkdir -p "${package}"/doc
cp crate/cli/README.md COPYING "${bin}" "${package}"
mkdir -p "${package}"/docs
cp crates/cli/README.md "${bin}" "${package}"
cp -r LICENSES "${package}"
cp crate/cli/{AUTHORS,BUILD,CHANGELOG,CONTRIBUTING}.adoc "${package}"/doc
cp crates/cli/{AUTHORS,BUILD,CHANGELOG,CONTRIBUTING}.adoc "${package}"/docs
if [ "${{ matrix.os }}" != "windows-2022" ] ; then
mkdir -p "${package}"/man
cp "$(find ./target -path '*/abcrypt-cli-*/out' -type d)"/* "${package}"/man
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
- x86_64-unknown-linux-gnu
- x86_64-apple-darwin
- x86_64-pc-windows-msvc
toolchain:
- 1.70.0 # MSRV
- stable
crate:
- abcrypt
- abcrypt-cli
Expand All @@ -34,9 +37,6 @@ jobs:
os: macos-12
- target: x86_64-pc-windows-msvc
os: windows-2022
- crate: abcrypt
- crate: abcrypt-cli
- crate: abcrypt-capi
steps:
- name: Set Git to use LF
if: matrix.os == 'windows-2022'
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: 1.65.0 # MSRV
toolchain: ${{ matrix.toolchain }}
targets: ${{ matrix.target }}
- name: Cache build artifacts
uses: Swatinem/[email protected]
Expand Down Expand Up @@ -81,6 +81,9 @@ jobs:
- x86_64-unknown-linux-gnu
- x86_64-apple-darwin
- x86_64-pc-windows-msvc
toolchain:
- 1.70.0 # MSRV
- stable
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-22.04
Expand All @@ -99,7 +102,7 @@ jobs:
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: 1.65.0 # MSRV
toolchain: ${{ matrix.toolchain }}
targets: ${{ matrix.target }}
- name: Cache build artifacts
uses: Swatinem/[email protected]
Expand Down Expand Up @@ -177,13 +180,18 @@ jobs:
capi-examples:
name: Examples for the C API
runs-on: ubuntu-22.04
strategy:
matrix:
toolchain:
- 1.70.0 # MSRV
- stable
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: 1.65.0 # MSRV
toolchain: ${{ matrix.toolchain }}
- name: Install dependencies
run: |
sudo apt-get update
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Please see the {commit-messages-guide-url}[Commit messages guide].
https://github.com/fsfe/reuse-tool[`reuse`] is useful for updating the
copyright information.
. Please update the following applicable Changelog if possible.
.. link:crate/abcrypt/CHANGELOG.adoc[].
.. link:crate/cli/CHANGELOG.adoc[].
.. link:crate/capi/CHANGELOG.adoc[].
.. link:crates/abcrypt/CHANGELOG.adoc[].
.. link:crates/cli/CHANGELOG.adoc[].
.. link:crates/capi/CHANGELOG.adoc[].
. Please read and agree to follow the link:CODE_OF_CONDUCT.md[Code of Conduct].

== Development
Expand Down
24 changes: 0 additions & 24 deletions COPYING

This file was deleted.

Loading

0 comments on commit 19200b3

Please sign in to comment.