Last active
October 13, 2022 17:24
-
-
Save lbussell/5789974491e3d3ed737aac0e8b97b594 to your computer and use it in GitHub Desktop.
6.0 Servicing Scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Use this in a directory with: | |
# * x64 prereqs | |
# * arm64 prereqs | |
# * any extra nupkgs that you want to add | |
set -euxo pipefail | |
mkdir x64 | |
mkdir arm64 | |
tar -xzf *smoke*x64*.tar.gz -C x64/ | |
tar -xzf *smoke*arm64*.tar.gz -C arm64/ | |
# copy necessary arm64 packages | |
cp arm64/*linux-arm64* x64/ | |
# copy extra packages | |
cp *.nupkg x64/ | |
# create final prereqs tarball | |
pushd x64 | |
tar -czf ../dotnet-smoke-test-prereqs.tar.gz . | |
popd | |
# cleanup | |
rm -rf x64/ | |
rm -rf arm64/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment