Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63699175
get_release_info.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, May 21, 22:38
Size
525 B
Mime Type
text/x-shellscript
Expires
Thu, May 23, 22:38 (2 d)
Engine
blob
Format
Raw Data
Handle
17808056
Attached To
rLIBMULTISCALE LibMultiScale
get_release_info.sh
View Options
#!/bin/bash
uuencode
=
$1
git diff >
$2
/release.patch
echo
"#include <string>"
echo
"std::string lm_release_info = \"\\n\\"
branch
=
$(
git rev-parse --abbrev-ref --verify HEAD
)
echo
"$branch \\n\\"
git rev-parse --verify
$branch
| sed
's/$/\\n\\/'
git remote -v | sed
's/$/ \\n\\/'
echo
"\\n\\"
$uuencode
-m
$2
/release.patch release.patch | sed
's/$/\\n\\/'
echo
"\\"
$uuencode
-m
$2
/CMakeCache.txt CMakeCache.txt | sed
's/$/\\n\\/'
echo
"\";"
git rev-parse --verify
$branch
| sed
's/$/\\n\\/'
>
$2
/python/commit_hash
Event Timeline
Log In to Comment