Skip to content

Commit

Permalink
Release abcrypt-capi version 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake committed Sep 29, 2023
2 parents 78ae0d5 + 47c70e7 commit 4083d40
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .bumpversion-capi.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.1
current_version = 0.1.2

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

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.

8 changes: 7 additions & 1 deletion crate/capi/CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ All notable changes to this project will be documented in this file.

The format is based on {keepachangelog}, and this project adheres to {semver}.

== {compare-url}/abcrypt-capi-v0.1.0\...abcrypt-capi-v0.1.1[0.1.1] - 2023-09-29
== {compare-url}/abcrypt-capi-v0.1.1\...abcrypt-capi-v0.1.2[0.1.2] - 2023-09-29

=== Fixed

* Fix `build.rs` ({pull-request-url}/87[#87])

== {compare-url}/abcrypt-capi-v0.1.0\...abcrypt-capi-v0.1.1[0.1.1] - 2023-09-29 [YANKED]

=== Fixed

Expand Down
2 changes: 1 addition & 1 deletion crate/capi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[package]
name = "abcrypt-capi"
version = "0.1.1"
version = "0.1.2"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand Down
3 changes: 2 additions & 1 deletion crate/capi/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ fn main() {

let lock_file = crate_dir.join("Cargo.lock");
if lock_file.exists() {
fs::remove_file(lock_file).expect("failed to remove `Cargo.lock`");
fs::remove_file(lock_file)
.unwrap_or_else(|err| println!("cargo:warning=failed to remove `Cargo.lock`: {err}"));
}
}
2 changes: 1 addition & 1 deletion crate/capi/examples/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ project('abcrypt_capi_examples',
default_options: ['warning_level=3', 'cpp_std=c++17'],
license: 'Apache-2.0 OR MIT',
meson_version: '>=0.53.0',
version: '0.1.1',
version: '0.1.2',
)

fs = import('fs')
Expand Down
2 changes: 1 addition & 1 deletion crate/capi/examples/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <iostream>

constexpr auto VERSION = "0.1.1";
constexpr auto VERSION = "0.1.2";

void print_version(void) {
std::cout << fmt::format("abcrypt-capi {}", VERSION) << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion crate/capi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

//! The `abcrypt-capi` crate is the C API for the [`abcrypt`] crate.
#![doc(html_root_url = "https://docs.rs/abcrypt-capi/0.1.1/")]
#![doc(html_root_url = "https://docs.rs/abcrypt-capi/0.1.2/")]
#![cfg_attr(doc_cfg, feature(doc_auto_cfg, doc_cfg))]
// Lint levels of rustc.
#![deny(missing_debug_implementations, missing_docs)]
Expand Down
4 changes: 2 additions & 2 deletions crate/cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ fn main() {
match generate_man_page(out_dir) {
Ok(exit_status) => {
if !exit_status.success() {
println!("cargo:warning=Asciidoctor failed ({exit_status})");
println!("cargo:warning=Asciidoctor failed: {exit_status}");
}
}
Err(err) => {
println!("cargo:warning=failed to execute Asciidoctor ({err})");
println!("cargo:warning=failed to execute Asciidoctor: {err}");
}
}
}

0 comments on commit 4083d40

Please sign in to comment.