You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"mg5_version_minimal = $(cat __init__.py | awk '/minimal_mg5amcnlo_version/{print $3}'| sed 's/(//'| sed 's/)//'| sed 's/,/./g')">>${outfile}
32
41
echo"mg5_version_latest_validated = $(cat __init__.py | awk '/latest_validated_version/{print $3}'| sed 's/(//'| sed 's/)//'| sed 's/,/./g')">>${outfile}
Copy file name to clipboardExpand all lines: epochX/cudacpp/gitTag.sh
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@ function usage()
22
22
{
23
23
echo"Usage (1): $0 [-f] <tagsuffix>"
24
24
echo"Creates a new version tag (from the HEAD of the local branch) and pushes it to the remote repository"
25
-
echo"Valid formats for <tagsuffix> are 'n1.n2.n3' or 'n1.n2.n3_txt' where txt only contains letters or digits"
26
-
echo"Version number 'n1.n2.n3' must match that in the CUDACPP_OUTPUT/__init__.py file"
25
+
echo"Valid formats for <tagsuffix> are 'n.nn.nn' or 'n.nn.nn_txt' where txt only contains letters or digits)"
26
+
echo"Version number must match the (n1,n2,n3) specified with single digits in the CUDACPP_OUTPUT/__init__.py file"
27
27
echo"For release tags (no trailing '_txt'), the github CI will then create also a running tag with '_latest' suffix"
28
28
echo"Use the -f option to delete and recreate a version tag that already exists"
29
29
echo""
@@ -156,7 +156,13 @@ else
156
156
157
157
# Determine cudacpp_version (as in archiver.sh)
158
158
echo"INFO: determine cudacpp and mg5amc versions"
159
-
cudacpp_version=$(cat ${topdir}/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT/__init__.py | awk '/__version__/{print $3}'| sed 's/(//'| sed 's/)//'| sed 's/,/./g')
0 commit comments