diff --git a/.github/prep-release-assets.sh b/.github/prep-release-assets.sh deleted file mode 100755 index 08762e05f..000000000 --- a/.github/prep-release-assets.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash -# -# Usage: go.sh - -set -o errexit -o noclobber -o nounset -o pipefail # or set -Ceuo pipefail -shopt -s extglob inherit_errexit - -: "${REPO_SLUG:=pcolby/dokit}" -: "${OUTPUT_DIR:=output}" - -runId=$(gh run list -R "$REPO_SLUG" -b "$1" -w 'Build and Test' --json databaseId --jq '.[].databaseId') -gh run download "$runId" -R "$REPO_SLUG" - -mkdir -p "$OUTPUT_DIR" - -ls -1d dokit-* | grep -Eve '(-cov|\.win)\.|\.AppImage$' | - xargs -I '{}' tar -cJvf "$OUTPUT_DIR/{}.txz" '{}' - -ls -1d dokit-*.win.* | grep -Eve '-cov\.' | - xargs -I '{}' zip -r "$OUTPUT_DIR/{}.zip" '{}' - -zip -r "$OUTPUT_DIR/test-results.zip" coverage-report test-results-* - -find . -type f -name '*.AppImage' -not -name '*-cov.*AppImage' \ - -not -path '*/output/*' -exec cp -av {} "$OUTPUT_DIR" \;