From 9eb427d883e985e9b39a5934fa6952da269fc5e7 Mon Sep 17 00:00:00 2001 From: Andrea Valassi Date: Thu, 3 Oct 2024 11:07:43 +0200 Subject: [PATCH] [install] in archiver.yml, show 'install cudacpp' instructions also for release tags --- .github/workflows/archiver.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/archiver.yml b/.github/workflows/archiver.yml index ae4d4076bf..7bbb568642 100644 --- a/.github/workflows/archiver.yml +++ b/.github/workflows/archiver.yml @@ -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 "" >> ${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 "" >> ${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 "" >> ${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 "" >> ${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