From 81e2e1b4313b8cd55a12f92b65f6fb254220e154 Mon Sep 17 00:00:00 2001 From: Jerad C Date: Tue, 1 Nov 2022 10:26:51 -0500 Subject: [PATCH 1/2] fetch all history during release workflow --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1c5e3a2..45f90768 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,9 @@ jobs: - name: Check out code uses: actions/checkout@v2 + with: + ref: v2 # repo branch + fetch-depth: 0 # fetch all history - name: Release assets run: make release From bc2610b08f4f9a9c98fc2babda03e50593f29746 Mon Sep 17 00:00:00 2001 From: Jerad C Date: Tue, 1 Nov 2022 10:27:32 -0500 Subject: [PATCH 2/2] silence unnecessary script output --- scripts/sync-readme-to-ecr-public.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync-readme-to-ecr-public.sh b/scripts/sync-readme-to-ecr-public.sh index 2c07322f..965dc616 100755 --- a/scripts/sync-readme-to-ecr-public.sh +++ b/scripts/sync-readme-to-ecr-public.sh @@ -5,7 +5,7 @@ set -euo pipefail repo_root_path="$(cd "$(dirname "$0")"; cd ..; pwd -P)" makefile_path="${repo_root_path}/Makefile" -if ! command -v jq; then +if ! command -v jq >/dev/null; then echo "command not found: jq" >&2 exit 1 fi