Skip to content

Commit

Permalink
[install] in .github/workflows/archiver, upload the VERSION file as a…
Browse files Browse the repository at this point in the history
…nother release asset
  • Loading branch information
valassi committed Sep 27, 2024
1 parent 1012fbe commit 33bbc2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/archiver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ echo "TARBALL DATE: $(date -u +"${dateformat}")" >> ${outfile}
echo "" >> ${outfile}
TZ=UTC git log -n1 --date=format-local:"${dateformat}" --pretty=format:'commit %h%ntree %t%nparent %p%nAuthor: %an%nAuthorDate: %ad%nCommitter: %cn%nCommitterDate: %cd%nMessage: "%s"%n' >> ${outfile}
python -c 'print("="*132)'; cat ${outfile}; python -c 'print("="*132)'
cp ${outfile} ${topdir}
echo "VERSION file available on ${topdir}/$(basename ${outfile})"

# Copy all relevant plugin files to the temporary directory
cd ${topdir}/epochX/cudacpp/CODEGEN/PLUGIN/CUDACPP_SA_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/archiver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: cudacpp.tar.gz
files: [ cudacpp.tar.gz, VERSION ]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 33bbc2d

Please sign in to comment.