8000 Create release packages using GitHub Actions · Issue #122 · OSGeo/PROJ-data · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Create release packages using GitHub Actions #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kbevers opened this issue May 28, 2024 · 4 comments · Fixed by #124
Closed

Create release packages using GitHub Actions #122

kbevers opened this issue May 28, 2024 · 4 comments · Fixed by #124

Comments

@kbevers
Copy link
Member
kbevers commented May 28, 2024

Generating the zip and tar.gz files for the PROJ-data releases have proven to be unreliable on the Mac that I am currently using when preparing new releases. Both releases in the 9.4 series have been affected and included unwanted ._-files. To prevent this in the future a new workflow based on GitHub Actions will be investigated.

Ideally, a pushed git tag will trigger creation of the release packages and store them as artifacts attached to given workflow run. This would mean that when a tag such as 1.18.0RC1 is pushed a workflow will be triggered that creates PROJ-data-1.18RC1.tar.gz and PROJ-data-1.18RC1.zip and stores them as downloadable artifacts. Upload to download.osgeo.org will be a manual process as previously.

@sebastic
Copy link
Contributor

It might be simpler to remove the extended attributes from any files in the working directory as part of the release process, e.g.:

find . -type f -exec xattr -c {} \;

@kbevers
Copy link
Member Author
kbevers commented May 28, 2024

That is just yet another step to mess up. An automated procedure is preferred and this is a sufficient pain point for to make it happen.

@mwtoews
Copy link
Member
mwtoews commented May 28, 2024

I've been thinking of a similar strategy too. The libgeos team have a release.yml workflow as inspiration. And now their md5sum from (e.g) geos-3.12.1.tar.bz2 at https://github.com/libgeos/geos/releases/tag/3.12.1 is identical to the one at https://download.osgeo.org/geos/ which is neat. This idea applies to PROJ too.

@hobu
Copy link
Contributor
hobu commented May 28, 2024

I implemented automated release artifact generation (and signing!) using GitHub Actions in libgeotiff recently. This could be adapted to PROJ/PROJ-data without much trouble.

OSGeo/libgeotiff#115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
0