Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down
4 changes: 3 additions & 1 deletion .prepare_deploy
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading