-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build instructions for Linux and Windows.
Add 'buildVersionInfo.sh' for non-workflows builds.
- Loading branch information
1 parent
9c8efbe
commit 9abb120
Showing
4 changed files
with
82 additions
and
24 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#! /bin/bash | ||
# Script for building "BulletSimVersionInfoFile" which contains application and git | ||
# version information. | ||
# Also sets this information into the environment | ||
# This file exists as an alternative to the building of the version info file in | ||
# .github/workflows/build.yml | ||
|
||
export BuildDate=$(date +%Y%m%d) | ||
|
||
export BulletSimVersion=$(cat VERSION) | ||
export BulletSimGitVersion=$(git rev-parse HEAD) | ||
export BulletSimGitVersionShort=$(git rev-parse --short HEAD) | ||
cd bullet3 | ||
export BulletVersion=$(cat VERSION) | ||
export BulletGitVersion=$(git rev-parse HEAD) | ||
export BulletGitVersionShort=$(git rev-parse --short HEAD) | ||
|
||
cd .. | ||
echo "BuildDate=$BuildDate" > BulletSimVersionInfo | ||
echo "BulletSimVersion=$BulletSimVersion" >> BulletSimVersionInfo | ||
echo "BulletSimGitVersion=$BulletSimGitVersion" >> BulletSimVersionInfo | ||
echo "BulletSimGitVersionShort=$BulletSimGitVersionShort" >> BulletSimVersionInfo | ||
echo "BulletVersion=$BulletVersion" >> BulletSimVersionInfo | ||
echo "BulletGitVersion=$BulletGitVersion" >> BulletSimVersionInfo | ||
echo "BulletGitVersionShort=$BulletGitVersionShort" >> BulletSimVersionInfo |
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