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

fix: changes need to be detected for un-merged pull requests #172

Merged
merged 4 commits into from
Jun 11, 2021

Conversation

ForbesLindesay
Copy link
Collaborator

Un-merged pull requests have 2 commits that should pick up the change log, identified by the "pull/:pr_number/head" and "pull/:pr_number/merge" refs. This PR will add 2 new fields to the refs table to index the pr_number and ref kind ("merge" or "head"). It then updates the getUnreleasedChanges function to include pull requests that are indirectly referenced via this ref. I may need to add some indexes to the database to keep this query reasonably efficient.

@rollingversions
Copy link

rollingversions bot commented Jun 11, 2021

@rollingversions/server (3.0.3 → 3.0.4)

Bug Fixes

  • Changes were not detected for un-merged pull requests

    This prevented workflows where a canary release was created to preview a change before merging the PR.

Packages With No Changes

The following packages have no user facing changes, so won't be released:

  • @rollingversions/change-set
  • @rollingversions/config
  • @rollingversions/sort-by-dependencies
  • @rollingversions/tag-format
  • @rollingversions/types
  • @rollingversions/version-number
  • rollingversions

Edit changelogs

Un-merged pull requests have 2 commits that should pick up the change log, identified by the "pull/:pr_number/head" and "pull/:pr_number/merge" refs. This PR will add 2 new fields to the refs table to index the pr_number and ref kind ("merge" or "head"). It then updates the `getUnreleasedChanges` function to include pull requests that are indirectly referenced via this ref. I may need to add some indexes to the database to keep this query reasonably efficient.
@ForbesLindesay ForbesLindesay merged commit 8549aaf into master Jun 11, 2021
@ForbesLindesay ForbesLindesay deleted the fix/pr-canary-releases branch June 11, 2021 09:45
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.

None yet

1 participant