Skip to content

Commit

Permalink
Add .yml extension to RELEASE_SPEC file (#83)
Browse files Browse the repository at this point in the history
Add .yml extension to RELEASE_SPEC file
  • Loading branch information
Mrtenz committed Jul 14, 2023
1 parent a391815 commit 49d0024
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/functional.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ The release spec file has been retained for you to edit again and make the neces
{
replacements: [
{
from: `${environment.tempDirectoryPath}/RELEASE_SPEC`,
from: `${environment.tempDirectoryPath}/RELEASE_SPEC.yml`,
to: '<<release-spec-file-path>>',
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/monorepo-workflow-operations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ async function setupFollowMonorepoWorkflow({
const editor = buildMockEditor();
const releaseSpecificationPath = path.join(
sandbox.directoryPath,
'RELEASE_SPEC',
'RELEASE_SPEC.yml',
);
const releaseSpecification = buildMockReleaseSpecification({
path: releaseSpecificationPath,
Expand Down
5 changes: 4 additions & 1 deletion src/monorepo-workflow-operations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ export async function followMonorepoWorkflow({
stdout: Pick<WriteStream, 'write'>;
stderr: Pick<WriteStream, 'write'>;
}) {
const releaseSpecificationPath = path.join(tempDirectoryPath, 'RELEASE_SPEC');
const releaseSpecificationPath = path.join(
tempDirectoryPath,
'RELEASE_SPEC.yml',
);

if (
!firstRemovingExistingReleaseSpecification &&
Expand Down

0 comments on commit 49d0024

Please sign in to comment.