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 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