Skip to content

Commit

Permalink
fix descritpion
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed Jun 9, 2024
1 parent 53efe2b commit 88de565
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 7 additions & 3 deletions pcre2grep/build_msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e

tool_name="pcre2grep.exe"
tool_version="10.44"
self_toolset_name="build-msvc"

download_url="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$tool_version/pcre2-$tool_version.tar.gz"
echo "::group::prepare sources $download_url"
Expand All @@ -26,10 +27,13 @@ cp -f "$dp0/release/pcre2-$tool_version/build/Release/$tool_name" "$dp0/release/

cd "$dp0/release/build"

{ printf 'SHA-256: %s (msvc)
' "$(sha256sum $tool_name)"
{ printf '### %s
SHA-256: %s
%s
' "$self_toolset_name.tar.gz" "$(sha256sum $tool_name)" "$download_url"
} > build-msvc.md

cat build-msvc.md

tar -czvf ../build-msvc.tar.gz .
tar -czvf "../$self_toolset_name.tar.gz" .
8 changes: 6 additions & 2 deletions pcre2grep/build_musl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ echo "::endgroup::"

tool_name="pcre2grep"
tool_version="10.44"
self_toolset_name="build-musl"

download_url="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-$tool_version/pcre2-$tool_version.tar.gz"
echo "::group::prepare sources $download_url"
Expand All @@ -36,10 +37,13 @@ strip "$tool_name"
chmod +x "$tool_name"

{ printf '%s
### %s
SHA-256: %s
' "$("./$tool_name" --version)" "$(sha256sum $tool_name)"
' "$("./$tool_name" --version)" "$self_toolset_name.tar.gz" "$(sha256sum $tool_name)"
} > build-musl.md

cat build-musl.md

tar -czvf ../build-musl.tar.gz .
tar -czvf "../$self_toolset_name.tar.gz" .

0 comments on commit 88de565

Please sign in to comment.