Skip to content

Commit

Permalink
no log: Improved release exclude regex that could be fixing empty cha…
Browse files Browse the repository at this point in the history
…nges log issue.
  • Loading branch information
morpheus65535 committed Jul 1, 2021
1 parent cb623c3 commit f125845
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .auto-changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"template": "./changelog-dev.hbs",
"ignoreCommitPattern": "^(Release|no log:).*",
"ignoreCommitPattern": "^(Release|no log:|Merge.remote-tracking).*",
"sortCommits": "date-desc"
}
2 changes: 1 addition & 1 deletion .github/workflows/release_beta_to_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Create Release (Conditional)
if: ${{ steps.check-ci.outputs.conclusion == 'success' }}
run: |
revision_count=$(git rev-list --invert-grep --regexp-ignore-case --extended-regexp --grep="^(Release|no log:).*" $(git describe --tags --abbrev=0)..HEAD --count)
revision_count=$(git rev-list --invert-grep --regexp-ignore-case --extended-regexp --grep="^(Release|no log:|Merge.remote-tracking).*" $(git describe --tags --abbrev=0)..HEAD --count)
if [[ $revision_count != 0 ]]; then
echo "**** Found $revision_count changes! Releasing... ****"
release-it --ci --increment prerelease --preRelease=beta
Expand Down

0 comments on commit f125845

Please sign in to comment.