pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/semantic-release/commit-analyzer/pull/378

fix: "no release" is the lowest priority by nweajoseph · Pull Request #378 · semantic-release/commit-analyzer · GitHub
Skip to content

fix: "no release" is the lowest priority#378

Open
nweajoseph wants to merge 1 commit intosemantic-release:masterfrom
nweajoseph:patch-1
Open

fix: "no release" is the lowest priority#378
nweajoseph wants to merge 1 commit intosemantic-release:masterfrom
nweajoseph:patch-1

Conversation

@nweajoseph
Copy link

prior to this commit, using a custom analysis rule that set release to false, for example:

[
    {type: 'fix', scope: 'frontend', release: 'patch'},
    {type: 'fix', scope: '*', release: false} // <----- this should NOT override 'patch'
]

would skip the release matching commits, even though another rule matches them with a higher release value. that is to say: this commit codifies false or null release values as the "lowest" release value, making it possible to treat "no release" the same way we treat all other release values, instead of treating it as a special exception. the primary use-case for this change is more granular control over commit analysis when using scopes

BREAKING CHANGE: release: false will not override other matching release rules of higher priority

prior to this commit, using a custom analysis rule that set release to `false`, for example: 

```
[
    {type: 'fix', scope: 'frontend', release: 'patch'},
    {type: 'fix', scope: '*', release: false} // <----- this should NOT override 'patch'
]
```

would skip the release matching commits, even though another rule matches them with a higher release value. that is to say: this commit codifies `false` or `null` release values as the "lowest" release value, making it possible to treat "no release" the same way we treat all other release values, instead of treating it as a special exception. the primary use-case for this change is more granular control over commit analysis when using `scope`s
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

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy