Skip to content

Commit

Permalink
[install] in archiver.yml, show 'install cudacpp' instructions also f…
Browse files Browse the repository at this point in the history
…or release tags
  • Loading branch information
valassi committed Oct 3, 2024
1 parent 9f0d4b8 commit 9eb427d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/archiver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,23 @@ jobs:
echo "${tagdate}" >> ${WORKDIR}/versiontag.txt
echo "" >> ${WORKDIR}/versiontag.txt
if [ "${tagname_makelatest}" != "true" ]; then
echo "" >> ${WORKDIR}/versiontag.txt
echo "This is a test or pre-release tag: to use it, install it directly as follows" >> ${WORKDIR}/versiontag.txt
echo "This is a test or pre-release tag: to use it, you must install it directly as follows" >> ${WORKDIR}/versiontag.txt
else
echo "This is a release tag: you may install the *latest* release tag ${tagname_latest} as follows" >> ${WORKDIR}/versiontag.txt
echo "" >> ${WORKDIR}/versiontag.txt
echo "<sub>" >> ${WORKDIR}/versiontag.txt # hack to display smaller text in markdown
###echo "\`\`\`" >> ${WORKDIR}/versiontag.txt
echo "MG5_aMC>install cudacpp --cudacpp_tarball=https://github.com/${REPOSITORY}/releases/download/${tagname}/cudacpp.tar.gz" >> ${WORKDIR}/versiontag.txt
###echo "\`\`\`" >> ${WORKDIR}/versiontag.txt
echo "MG5_aMC>install cudacpp" >> ${WORKDIR}/versiontag.txt
echo "</sub>" >> ${WORKDIR}/versiontag.txt # hack to display smaller text in markdown
echo "" >> ${WORKDIR}/versiontag.txt
echo "---" >> ${WORKDIR}/versiontag.txt
echo "Alternatively, you may install directly this specific tag as follows" >> ${WORKDIR}/versiontag.txt
fi
echo "" >> ${WORKDIR}/versiontag.txt
echo "<sub>" >> ${WORKDIR}/versiontag.txt # hack to display smaller text in markdown
echo "MG5_aMC>install cudacpp --cudacpp_tarball=https://github.com/${REPOSITORY}/releases/download/${tagname}/cudacpp.tar.gz" >> ${WORKDIR}/versiontag.txt
echo "</sub>" >> ${WORKDIR}/versiontag.txt # hack to display smaller text in markdown
echo "" >> ${WORKDIR}/versiontag.txt
echo "---" >> ${WORKDIR}/versiontag.txt
echo "" >> ${WORKDIR}/versiontag.txt
cat ${WORKDIR}/VERSION.txt | egrep '^(commit|TARBALL) ' >> ${WORKDIR}/versiontag.txt
- name: delete_versiontag_releaseonly
Expand Down

0 comments on commit 9eb427d

Please sign in to comment.