diff --git a/bin/cli-version b/bin/cli-version deleted file mode 100755 index e41ca95..0000000 --- a/bin/cli-version +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail -bin/manpage -bin/pre-release-pull -cargo release -v -p watchexec-cli $* -echo "REMEMBER to do a 'cargo publish' once CI is done!" diff --git a/bin/lib-version b/bin/lib-version deleted file mode 100755 index 4d94b94..0000000 --- a/bin/lib-version +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail -bin/pre-release-pull -cargo release -v -p watchexec $* diff --git a/bin/pre-release-pull b/bin/pre-release-pull deleted file mode 100755 index 3e04f40..0000000 --- a/bin/pre-release-pull +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -[[ ! -z "$WORKSPACE_ROOT" ]] && cd "$WORKSPACE_ROOT" - -set -euo pipefail - -mainbranch="main" -upstream_rx="watchexec/" -upstream=$(git remote -v | grep -i "$upstream_rx" -m1 | awk '{print $1}') -echo "Upstream remote discovered as: $upstream" - -echo "Pulling from upstream" -git pull --rebase --autostash "$upstream" "$mainbranch" - -echo "Fetching tags from upstream" -git fetch --tags "$upstream" diff --git a/bin/sign b/bin/sign deleted file mode 100755 index 6bb51ca..0000000 --- a/bin/sign +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -if ! which rsign >/dev/null; then - echo "Requires rsign2 tool: $ cargo install rsign2" - exit 2 -fi - -missing="" -for f in {B3,SHA512}SUMS{,.auto.minisig}; do - [[ ! -f "$f" ]] && missing="$missing $f" -done - -if [[ ! -z "$missing" ]]; then - echo "Usage: bin/sign [rsign options...]" - echo "You must first download the relevant sums and minisig files." - echo "Missing: $missing" - exit 1 -fi - -sigs="" -for algo in B3 SHA512; do - echo "Verifying ${algo}SUMS.auto.minisig:" - rsign verify \ - -p "$(dirname $BASH_SOURCE)/../.github/workflows/release.pub" \ - -x "${algo}SUMS.auto.minisig" \ - "${algo}SUMS" - - version=$(grep -m1 -oP 'watchexec-[\d.]+' "${algo}SUMS" | cut -d- -f3) - ownsig="${algo}SUMS.$(whoami).minisig" - sigs="$sigs $ownsig" - - echo "Signing ${algo}SUMS with your key to $ownsig:" - rsign sign \ - -t "watchexec $version signed by maintainer: $(whoami)" \ - -c 'see README.md for signing information' \ - -x "$ownsig" \ - $@ \ - "${algo}SUMS" -done - -echo "Done; please upload $sigs to Github release $version!"