Replies: 1 comment 1 reply
-
Hi @DaneDH, this test below is passing for me: test('Namespace is respected', async () => {
const repo = createTestRepo({
majorPattern: "(MAJOR)",
majorFlags: "",
minorPattern: "(MINOR)",
minorFlags: "",
versionFormat: "${major}.${minor}.${patch}-beta",
namespace: "beta",
bumpEachCommit: false,
bumpEachCommitPatchPattern: "",
searchCommitBody: true,
userFormatType: "json"});
repo.makeCommit('Initial Commit');
repo.exec('git tag v0.17.0-beta');
repo.makeCommit('Commit 1');
repo.makeCommit('Commit 2');
var result = await repo.runAction();
expect(result.formattedVersion).toBe('0.17.1-beta');
}, timeout); Perhaps the tag is not on an ancestor of the current branch? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If say my latest tag is
v0.17.0-beta
The configuration below is giving me
0.16.0-beta
output when I have no(MAJOR)
or(MINOR)
in commit message. I am expecting to see0.17.1-beta
. If I setbump_each_commit: false
, I get something like0.17.55-beta
. My expectation is that if no major or minor patterns are matched it defaults to patch automatically, that is not what I am seeing.Beta Was this translation helpful? Give feedback.
All reactions