qthreads icon indicating copy to clipboard operation
qthreads copied to clipboard

Automate release tarball creation

Open ronawho opened this issue 3 years ago • 3 comments

There have been generated files included in the last several release tarballs. I believe this is due to manually creating the tarball from a directory where autogen/configure has been run.

I have caught this a few times while upgrading versions, though I missed some when upgrading to the 1.16 release in https://github.com/chapel-lang/chapel/pull/17229. In 1.16 there were a lot of files in an installed directory. There were different files for 1.17 but I believe we caught all those.

Offline @janciesko and I had discussed automating the process to avoid issues like this. There are probably github actions that would let you automate creating your tarball. With a quick search https://github.com/marketplace/actions/create-release seems promising, but there are probably others.

(We discussed this offline a while back, but this recently bit us in https://github.com/Homebrew/homebrew-core/pull/91257#issuecomment-994206523 so I wanted to create an issue before I forgot.)

ronawho avatar Dec 15 '21 02:12 ronawho

Thanks @ronawho . This is an important issue to address.

olivier-snl avatar Dec 15 '21 16:12 olivier-snl

This script [1] runs autotools, generates the configure script and replaces linked files by actual files required during ./configure. The next step would be to trigger this script on a GitHub Actions event when a tag is pushed.

[1] https://github.com/Qthreads/qthreads/pull/115

janciesko avatar Sep 19 '22 18:09 janciesko