Skip to content

Commit

Permalink
Prepare release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Kauhaus committed Oct 23, 2020
1 parent fe93662 commit 9eb0260
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 32 deletions.
25 changes: 1 addition & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "check_journal"
version = "1.2.0-dev"
version = "1.2.0"
authors = ["Christian Kauhaus <[email protected]>"]
description = "Nagios/Icinga compatible plugin to search `journalctl` output for matching lines"
edition = "2018"
Expand All @@ -17,15 +17,13 @@ serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.8"
structopt = "0.3"
ureq = { version = "1.4", default-features = false, features = ["tls"] }
polling = "1.0.3"

[dev-dependencies]
lazy_static = "1.4"
tempfile = "3.1"
version-sync = "0.9"

[profile.release]
#codegen-units = 1
lto = "thin"
opt-level = "s"
panic = "abort"
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2020-10-23 Christian Kauhaus <[email protected]>

* Release 1.2.0

2020-09-13 Christian Kauhaus <[email protected]>

* Provide snap package.
Expand Down
8 changes: 4 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# Build expression for NixOS 20.03
# Build expression for NixOS 20.09
{ pkgs ? import <nixpkgs> {} }:

with pkgs.lib;
with pkgs.rustPlatform;

buildRustPackage rec {
name = "check-journal-${version}";
version = "1.2.0-dev";
version = "1.2.0";

src = cleanSourceWith {
filter = n: t: baseNameOf n != "target";
src = cleanSource ./.;
};
cargoSha256 = "08mmfgnlh9nw21x5pkw6wq2lbm438zz58q84h7rrliacn743lmvy";
cargoSha256 = "03rm3rq0wwv5gcgwf3q78firrllig3vv42kkyhcn6iyswcj03zff";

# used in src/main.rs to set default path for journalctl
JOURNALCTL = "${pkgs.systemd}/bin/journalctl";

nativeBuildInputs = with pkgs; [ ronn utillinux ];
postBuild = "make man";

preCheck = "patchShebangs fixtures/journalctl-cursor-file.sh";
preCheck = "patchShebangs fixtures/*.sh";

postInstall = ''
install -m 0644 -D -t $out/share/man/man1 man/check_journal.1
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: check-journal
version: '1.2.0-dev'
version: '1.2.0'
summary: Nagios/Icinga compatible plugin for journalctl
description: Nagios/Icinga compatible plugin to search `journalctl` output for matching lines
grade: stable
Expand Down

0 comments on commit 9eb0260

Please sign in to comment.