diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e36cc1bf..36f3763d1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -116,17 +116,23 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v8 + - name: Install dependency + run: | + sudo apt-get update + sudo apt-get install pandoc + - name: List files for debugging run: find . - name: Work around GitHub permissions bug run: chmod +x *.bin/*/shellcheck* - - name: Package binaries + - name: Package binaries and man run: | export TAGS="$(cat source/tags)" mkdir -p deploy cp -r *.bin/* deploy + ./manpage cd deploy ../.prepare_deploy rm -rf */ README* LICENSE* diff --git a/.prepare_deploy b/.prepare_deploy index 7f676755b..1d4dabb34 100755 --- a/.prepare_deploy +++ b/.prepare_deploy @@ -23,9 +23,11 @@ This binary was compiled on $(date -u). $(git log -n 3) END +cp ../shellcheck.1 . + for dir in */ do - cp LICENSE.txt README.txt "$dir" + cp LICENSE.txt README.txt shellcheck.1 "$dir" done echo "Tags are $TAGS"