Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed Jun 25, 2024
1 parent 0d905d0 commit 2784cdb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/busybox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
workflow: ${{ github.workflow }}
tool_version: '1.37.0-FRP-5398'
prepare_body: |
cat ./build-mingw/test-windows.md >> body.md
cat ./test-build-mingw/test-windows.md >> body.md
bsdtar -Oxf ./build-mingw/build-mingw.tar.gz build-mingw.md >> body.md
bsdtar -Oxf ./build-musl/build-musl.tar.gz build-musl.md >> body.md
artifacts: ./build-musl/build-musl.tar.gz, ./build-mingw/build-mingw.tar.gz
Expand Down
7 changes: 2 additions & 5 deletions busybox/build_musl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,10 @@ cd "$dp0/release/build"

strip "./$tool_name"

{ printf '```
%s
```
{ printf '
SHA-256: %s
%s
' "$(./$tool_name)" "$(sha256sum $tool_name)" "$download_url"
' "$(sha256sum $tool_name)" "$download_url"
} > build-musl.md

cat build-musl.md
Expand Down
8 changes: 7 additions & 1 deletion busybox/test_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
testVersion() {
assertEquals "tar (busybox) 1.37.0.git-5398-g89ae34445" "$(../bin/busybox.exe tar --version | head -1)"

"../bin/busybox.exe" > ./test-windows.md
{ printf '```
%s
```
' "$(../bin/busybox.exe)"
} > ./test-windows.md

}

# Load and run shUnit2.
Expand Down

0 comments on commit 2784cdb

Please sign in to comment.