Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
valassi committed Oct 1, 2024
1 parent 0c86da2 commit c3ed686
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/archiver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
mg5_version=$(cat ${WORKDIR}/VERSION.txt | awk '/^mg5_version_current/{print $3}')
echo "(From VERSION.txt) cudacpp_version = ${cudacpp_version}"
echo "(From VERSION.txt) mg5_version_current = ${mg5_version}"
echo "TAGPREFIX is ${TAGPREFIX}"
tagname_version=${TAGPREFIX}${mg5_version}_v${cudacpp_version}
echo "(From VERSION.txt) _expected_ tagname = ${tagname_version}[_...]"
if [ "${tagname/${tagname_version}}" == "${tagname}" ]; then
Expand All @@ -87,6 +88,7 @@ jobs:
exit 1 # this will cause the job to fail without running the next steps
fi
echo "OK! Tagname '${tagname}' respects the expected format"
echo "TAGPREFIX is ${TAGPREFIX}"
tagname_latest=${TAGPREFIX}${mg5_version}_latest
echo "(From TAGPREFIX) tagname_latest = ${tagname_latest}"
echo "TAGNAME_LATEST=${tagname_latest}" >> $GITHUB_ENV
Expand Down

0 comments on commit c3ed686

Please sign in to comment.