Added version to tcpdump binaries
This commit is contained in:
parent
eef54d6c31
commit
959c42b354
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ main() {
|
||||||
local version
|
local version
|
||||||
version=$(get_version "${BUILD_DIRECTORY}/tcpdump/tcpdump --version 2>&1 | head -n1 | awk '{print \$3}'")
|
version=$(get_version "${BUILD_DIRECTORY}/tcpdump/tcpdump --version 2>&1 | head -n1 | awk '{print \$3}'")
|
||||||
version_number=$(echo "$version" | cut -d"-" -f2)
|
version_number=$(echo "$version" | cut -d"-" -f2)
|
||||||
cp "${BUILD_DIRECTORY}/tcpdump/tcpdump" "${OUTPUT_DIRECTORY}/tcpdump"
|
cp "${BUILD_DIRECTORY}/tcpdump/tcpdump" "${OUTPUT_DIRECTORY}/tcpdump${version}"
|
||||||
echo "[+] Finished building tcpdump ${CURRENT_ARCH}"
|
echo "[+] Finished building tcpdump ${CURRENT_ARCH}"
|
||||||
|
|
||||||
echo ::set-output name=PACKAGED_NAME::"tcpdump${version}"
|
echo ::set-output name=PACKAGED_NAME::"tcpdump${version}"
|
||||||
|
|
Loading…
Reference in a new issue