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

[WIP] Add scripts for building RPMs and creating release draft #164

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shinyaaa
Copy link

Summary

  • Build RPMs when tags are pushed and attach them to the draft release.
  • This PR is in progress.
    • When PostgreSQL 17 is released, we need to add ‘17’ to PG_VERSION and check that it works properly.

How to test this PR

  1. Fork pg_bulkload to your repository and execute below commands.
git clone https://github.com/<username>/pg_bulkload.git
cd pg_bulkload
git remote add remote https://github.com/ossc-db/pg_bulkload
git fetch remote pull/164/head:add-auto-rpm-build
git switch add-auto-rpm-build
git commit -m test --allow-empty
git tag VERSION3_1_21 -f
git push origin VERSION3_1_21 -f
  1. Access https://github.com/username/pg_bulkload/actions
  2. Sometimes the script hangs. When this happens, press ‘Cancel workflow’ and re-run with ‘Re-run failed jobs’.
  3. Check release draft at https://github.com/username/pg_bulkload/releases

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