Skip to content

Commit

Permalink
test(integration): Use correct independent tag patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Dec 17, 2019
1 parent af9c6b4 commit 167d6e3
Showing 1 changed file with 11 additions and 21 deletions.
Expand Up @@ -27,7 +27,13 @@ describe(`lerna publish --conventional-prerelease/graduate independent w/ change

beforeAll(async () => {
({ cwd } = await cloneFixture("independent", "chore: init repo"));
await gitTag(cwd, "v1.0.0");
await Promise.all([
gitTag(cwd, "package-1@1.0.0"),
gitTag(cwd, "package-2@2.0.0"),
gitTag(cwd, "package-3@3.0.0"),
gitTag(cwd, "package-4@4.0.0"),
gitTag(cwd, "package-5@5.0.0"),
]);
});

test(`release specified stable packages as prerelease`, async () => {
Expand Down Expand Up @@ -210,17 +216,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
# 1.1.0 (YYYY-MM-DD)
# [1.1.0](/compare/package-1@1.0.0...package-1@1.1.0) (YYYY-MM-DD)
### Features
* **package-1:** Add foo ([SHA](COMMIT_URL))
# 1.0.0 (YYYY-MM-DD)
`);

/**
Expand Down Expand Up @@ -267,17 +269,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
## 2.0.1-alpha.0 (YYYY-MM-DD)
## [2.0.1-alpha.0](/compare/package-2@2.0.0...package-2@2.0.1-alpha.0) (YYYY-MM-DD)
### Bug Fixes
* **package-2:** Fix bar ([SHA](COMMIT_URL))
# 1.0.0 (YYYY-MM-DD)
`);

/**
Expand Down Expand Up @@ -321,7 +319,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
# 4.0.0-alpha.0 (YYYY-MM-DD)
# [4.0.0-alpha.0](/compare/package-3@3.0.0...package-3@4.0.0-alpha.0) (YYYY-MM-DD)
### Features
Expand All @@ -333,10 +331,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
* **package-3:** yup
# 1.0.0 (YYYY-MM-DD)
`);

/**
Expand Down Expand Up @@ -380,11 +374,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
## 5.0.1-alpha.0 (YYYY-MM-DD)
# 1.0.0 (YYYY-MM-DD)
## [5.0.1-alpha.0](/compare/package-5@5.0.0...package-5@5.0.1-alpha.0) (YYYY-MM-DD)
**Note:** Version bump only for package package-5
Expand Down

0 comments on commit 167d6e3

Please sign in to comment.