Skip to content

Commit b4a368b

Browse files
authored
feat: detect unsubstituted vars in source template (#231)
1 parent 00554fb commit b4a368b

File tree

7 files changed

+263
-92
lines changed

7 files changed

+263
-92
lines changed

src/application/cli/create-entry-command.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ export class CreateEntryCommand {
2828
sourceTemplate.substitute({
2929
...ghRepoSubstitutions(args.githubRepository),
3030
...(args.tag ? { TAG: args.tag } : {}),
31-
VERSION: args.moduleVersion,
3231
});
3332

3433
const { moduleName } = await this.createEntryService.createEntryFiles(

src/application/release-event-handler.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ export class ReleaseEventHandler {
7777
const sourceTemplate = rulesetRepo.sourceTemplate(moduleRoot);
7878
const version = RulesetRepository.getVersionFromTag(tag);
7979
sourceTemplate.substitute({
80-
OWNER: rulesetRepo.owner,
81-
REPO: rulesetRepo.name,
82-
VERSION: version,
8380
TAG: tag,
8481
});
8582

0 commit comments

Comments
 (0)