Skip to content
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

Automate upload of release source archives #24

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

gmgunter
Copy link
Member

Add a GHA workflow which triggers whenever a versioned tag is pushed. It will automatically draft a release using https://github.com/softprops/action-gh-release. Git archives of the repo *and all of its submodules* are generated using https://github.com/Kentzo/git-archive-all and uploaded as release artifacts (in both .zip and .tar.gz format).

This is intended as a workaround for dear-github/dear-github#214. The archives generated by GitHub on each release do not include submodules. This is inconvenient for distributing via package repositories like PyPI and conda-forge, which typically prefer to fetch source tarballs from GitHub.

Add a GHA workflow which triggers whenever a versioned tag is pushed to
automatically draft a release using
https://github.com/softprops/action-gh-release. Git archives of the repo
and all of its submodules are generated using
https://github.com/Kentzo/git-archive-all and uploaded as release
artifacts (both .zip and .tar.gz).

This is a workaround for
dear-github/dear-github#214. The archives
generated by GitHub on each release do not include submodules.
Copy link

codecov bot commented Jan 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (121698f) 91.64% compared to head (85f47cf) 91.64%.

❗ Current head 85f47cf differs from pull request most recent head 8e8be35. Consider uploading reports for the commit 8e8be35 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #24   +/-   ##
=======================================
  Coverage   91.64%   91.64%           
=======================================
  Files           7        7           
  Lines         383      383           
=======================================
  Hits          351      351           
  Misses         32       32           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gmgunter gmgunter merged commit 7d2c543 into isce-framework:main Jan 17, 2024
5 checks passed
@gmgunter gmgunter deleted the release-archives branch January 17, 2024 08:47
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 this pull request may close these issues.

1 participant