Skip to content

Commit

Permalink
[install] in archiver.yml improve control over the release notes disa…
Browse files Browse the repository at this point in the history
…played for a release
  • Loading branch information
valassi committed Sep 30, 2024
1 parent c8e023c commit b68b1ae
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/archiver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,15 @@ jobs:
git config user.name github-actions
git config user.email [email protected]
echo "INFO: create running tag ${tagname_latest}"
echo "Running tag ${tagname_latest}" > msg.txt
echo "This is equivalent to version tag ${tagname}" >> msg.txt
echo "" >> msg.txt
python3 -c 'print("="*80)' >> msg.txt
cat ${WORKDIR}/VERSION.txt >> msg.txt
python3 -c 'print("="*80)' >> msg.txt
git tag -f ${tagname_latest} ${commit} -F msg.txt
echo "Running tag ${tagname_latest}" > ${WORKDIR}/runningtag.txt
echo "This is equivalent to version tag ${tagname}" >> ${WORKDIR}/runningtag.txt
echo "" >> ${WORKDIR}/runningtag.txt
python3 -c 'print("="*80)' >> ${WORKDIR}/runningtag.txt
cat ${WORKDIR}/VERSION.txt >> ${WORKDIR}/runningtag.txt
python3 -c 'print("="*80)' >> ${WORKDIR}/runningtag.txt
git tag -f ${tagname_latest} ${commit} -F ${WORKDIR}/runningtag.txt
git push -f --tags
echo "TEST TEST TEST" >> ${WORKDIR}/runningtag.txt
- name: release_versiontag
# See https://github.com/softprops/action-gh-release
Expand All @@ -129,6 +130,7 @@ jobs:
with:
name: ${{ env.TAGNAME_LATEST }}
tag_name: refs/tags/${{ env.TAGNAME_LATEST }}
body_path: runningtag.txt
# Previous attempt to upload files from ${HOME}/VERSION.txt and ${HOME}/cudacpp.tar.gz failed
# The current implementation uploads files from the default $WORKDIR (without giving the explicit full path)
files: |
Expand Down

0 comments on commit b68b1ae

Please sign in to comment.