dotnet-installer/.devcontainer/source-build-scripts/createTarball.sh
Logan Bussell 98d5be7aaa
Add devcontainer configurations for source build (#14084)
* Add devcontainer configurations for source build
2022-07-12 17:33:54 +00:00

7 lines
No EOL
383 B
Bash
Executable file

#!/usr/bin/env bash
# Always return exit code 0 so that we can use the codespaces prebuild to diagnose build errors.
./build.sh /p:ArcadeBuildTarball=true /p:TarballDir=$(realpath ..)/dotnet-source/ /p:PreserveTarballGitFolders=true || true
# Save the commit hash of the currently built repo, so developers know which version was built
git rev-parse HEAD > ./artifacts/prebuild.sha