From e7fa73097a110d2930bb0c367d7ce06fa530aa6e Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 30 Sep 2024 17:49:08 +0200 Subject: chore(version): v0.7.1 --- NEWS.md | 7 +++++++ build/awk/init | 6 +++++- build/c/init | 6 +++++- build/latex/academia/init | 6 +++++- build/latex/letter/init | 6 +++++- build/rust/init | 6 +++++- build/shell/init | 6 +++++- 7 files changed, 37 insertions(+), 6 deletions(-) diff --git a/NEWS.md b/NEWS.md index ce70e16..9b4158a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. - - - +## [v0.7.1](https://git.vhack.eu/soispha/flake-templates/compare/00a0fbe08945d93955a2bf4416ff2d6d9dbeb17e..v0.7.1) - 2024-09-30 +#### Bug Fixes +- **(common/init)** Set the full path to the `reuse` binary - ([0345ec4](https://git.vhack.eu/soispha/flake-templates/commit/0345ec4c5a1523d3794ea8901d28065c5e1f3d20)) - [@bpeetz](https://git.vhack.eu/bpeetz) +- **(common/init)** Define `die` function - ([00a0fbe](https://git.vhack.eu/soispha/flake-templates/commit/00a0fbe08945d93955a2bf4416ff2d6d9dbeb17e)) - [@bpeetz](https://git.vhack.eu/bpeetz) + +- - - + ## [v0.7.0](https://git.vhack.eu/soispha/flake-templates/compare/cf1f1262bdf2155495df682f121654b2aba04288..v0.7.0) - 2024-09-30 #### Bug Fixes - **(README)** Remove the `.md` suffix - ([2abc618](https://git.vhack.eu/soispha/flake-templates/commit/2abc618fa26da15be0e3a4843858e5a65a4ff6d6)) - [@bpeetz](https://git.vhack.eu/bpeetz) diff --git a/build/awk/init b/build/awk/init index f8c8bb3..2c9c077 100644 --- a/build/awk/init +++ b/build/awk/init @@ -26,6 +26,10 @@ require() { exit 1 fi } +die() { + echo "$1" + exit 1 +} # Prompt the user for a specific variable. # ## Args: @@ -167,7 +171,7 @@ chmod +x update.sh [ -f ./watch.sh ] && chmod +x build.sh # Do the first run of reuse annotate -reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)" +reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)/bin/reuse" [ "$(echo "$reuse" | wc -l)" -ne 1 ] && die "Something is wrong with the nixpkgs#reuse derivation" git add . diff --git a/build/c/init b/build/c/init index f8c8bb3..2c9c077 100644 --- a/build/c/init +++ b/build/c/init @@ -26,6 +26,10 @@ require() { exit 1 fi } +die() { + echo "$1" + exit 1 +} # Prompt the user for a specific variable. # ## Args: @@ -167,7 +171,7 @@ chmod +x update.sh [ -f ./watch.sh ] && chmod +x build.sh # Do the first run of reuse annotate -reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)" +reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)/bin/reuse" [ "$(echo "$reuse" | wc -l)" -ne 1 ] && die "Something is wrong with the nixpkgs#reuse derivation" git add . diff --git a/build/latex/academia/init b/build/latex/academia/init index f8c8bb3..2c9c077 100644 --- a/build/latex/academia/init +++ b/build/latex/academia/init @@ -26,6 +26,10 @@ require() { exit 1 fi } +die() { + echo "$1" + exit 1 +} # Prompt the user for a specific variable. # ## Args: @@ -167,7 +171,7 @@ chmod +x update.sh [ -f ./watch.sh ] && chmod +x build.sh # Do the first run of reuse annotate -reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)" +reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)/bin/reuse" [ "$(echo "$reuse" | wc -l)" -ne 1 ] && die "Something is wrong with the nixpkgs#reuse derivation" git add . diff --git a/build/latex/letter/init b/build/latex/letter/init index f8c8bb3..2c9c077 100644 --- a/build/latex/letter/init +++ b/build/latex/letter/init @@ -26,6 +26,10 @@ require() { exit 1 fi } +die() { + echo "$1" + exit 1 +} # Prompt the user for a specific variable. # ## Args: @@ -167,7 +171,7 @@ chmod +x update.sh [ -f ./watch.sh ] && chmod +x build.sh # Do the first run of reuse annotate -reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)" +reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)/bin/reuse" [ "$(echo "$reuse" | wc -l)" -ne 1 ] && die "Something is wrong with the nixpkgs#reuse derivation" git add . diff --git a/build/rust/init b/build/rust/init index f8c8bb3..2c9c077 100644 --- a/build/rust/init +++ b/build/rust/init @@ -26,6 +26,10 @@ require() { exit 1 fi } +die() { + echo "$1" + exit 1 +} # Prompt the user for a specific variable. # ## Args: @@ -167,7 +171,7 @@ chmod +x update.sh [ -f ./watch.sh ] && chmod +x build.sh # Do the first run of reuse annotate -reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)" +reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)/bin/reuse" [ "$(echo "$reuse" | wc -l)" -ne 1 ] && die "Something is wrong with the nixpkgs#reuse derivation" git add . diff --git a/build/shell/init b/build/shell/init index f8c8bb3..2c9c077 100644 --- a/build/shell/init +++ b/build/shell/init @@ -26,6 +26,10 @@ require() { exit 1 fi } +die() { + echo "$1" + exit 1 +} # Prompt the user for a specific variable. # ## Args: @@ -167,7 +171,7 @@ chmod +x update.sh [ -f ./watch.sh ] && chmod +x build.sh # Do the first run of reuse annotate -reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)" +reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)/bin/reuse" [ "$(echo "$reuse" | wc -l)" -ne 1 ] && die "Something is wrong with the nixpkgs#reuse derivation" git add . -- cgit 1.4.1