Skip to content

Commit

Permalink
build: Update the changelogPreset to use conventionalcommits, allow r…
Browse files Browse the repository at this point in the history
…elease branches to bump versions (#1081)

- Allow release branches to bump versions - we need this for hotfix
branches, and already have it on the ui-v0.15 branch:
2803fea
- Need to update template to the correct format. Already did this on the
`release/ui-v0.15` branch: #570
- Take note there are still some issues to beware of when bumping a
release branch:
#557
  • Loading branch information
mofojed authored Jan 13, 2025
1 parent 90c8e19 commit 8aa6c38
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cog.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ disable_changelog = false
# we never tag any code outside the plugins/ directory. Everything else is build glue.
generate_mono_repository_global_tag = false
# limit which branches to perform bumps from
branch_whitelist = [ "main" ]
branch_whitelist = [ "main", "release/*" ]
# we don't really use [skip ci] action filtering, but leaving here in case we decide to someday
skip_ci = "[skip ci]"
skip_untracked = false
Expand Down
7 changes: 6 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
"useWorkspaces": true,
"useNx": false,
"version": "independent",
"packages": ["plugins/*/src/js/"]
"packages": ["plugins/*/src/js/"],
"command": {
"version": {
"changelogPreset": "conventionalcommits"
}
}
}
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"@types/node": "^20.11.17",
"@types/prop-types": "^15.7.10",
"@vitejs/plugin-react-swc": "^3.7.0",
"conventional-changelog-conventionalcommits": "^7.0.0",
"eslint": "^8.37.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.6.2",
Expand Down

0 comments on commit 8aa6c38

Please sign in to comment.