-
-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using Cocogitto in a monorepo setup, package configuration entries in include = [] that start with a leading ./, changes are not detected correctly. As a result, cog fails to recognize changes in those paths, when using the bump command:
cog bump --dry-run --auto
Result:
No conventional commits found for your packages that required a bump. Changelogs will be updated on the next bump.
Pre-Hooks and Post-Hooks have been skipped.
Removing the ./ in the entries to include:
[packages."@autorelease-test/package-a"]
path = "./package-a"
include = ["./package-a/**"]
public_api = trueTo
[packages."@autorelease-test/package-a"]
path = "./package-a"
include = ["package-a/**"] # remove trailing ./
public_api = trueNow bump behaves properly:
$ cog bump --dry-run --auto
@autorelease-test/package-a-v0.1.0
v0.1.0To Reproduce
- Clone the repo: https://github.com/cs-clarence/autorelease-test
- Open the dir with terminal
- Run
cog bump --dry-run --auto
Expected behavior
Should still recognize changes even with leading ./ in include paths
Additional context
OS: Fedora Linux 43 (KDE Plasma Desktop Edition) x86_64
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working