fix comments

Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
This commit is contained in:
Vincenzo Scamporlino
2021-10-20 20:36:35 +02:00
parent 4ebc9fd277
commit 085edcfc5f
2 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -2,6 +2,6 @@
'@backstage/create-app': patch
---
Add .bsversion file
Add .backstage-version file
`@backstage/create-app` will create a new `.bsversion` file containing the version of `@backstage/create-app` that has been used for creating the application.
`@backstage/create-app` will create a new `.backstage-version` file containing the version of `@backstage/create-app` that has been used for creating the application.
+6 -3
View File
@@ -126,9 +126,12 @@ export async function templatingTask(
});
}
}
const bsVersionFileName = '.bsversion';
await Task.forItem('creating', bsVersionFileName, () =>
fs.writeFile(join(destinationDir, bsVersionFileName), version),
const backstageVersionFileName = '.backstage-version';
await Task.forItem('creating', backstageVersionFileName, () =>
fs.writeFile(
join(destinationDir, backstageVersionFileName),
`${version}\n`,
),
);
}