Skip to content

Commit

Permalink
Fixes update version script
Browse files Browse the repository at this point in the history
  • Loading branch information
Enngage committed Sep 16, 2024
1 parent 183ab24 commit f8871a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/meta/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

export const libMetadata = {
name: '@kontent-ai/model-generator',
timestamp: Mon, 16 Sep 2024 09:31:58 GMT,
name: '@kontent-ai/model-generator',
timestamp: 'Mon, 16 Sep 2024 09:31:58 GMT',
version: '8.0.0-0'
};
2 changes: 1 addition & 1 deletion scripts/update-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function createVersionFile(date: Date, filePath: string, propertyName: string):
const src = `
export const ${propertyName} = {
name: '${PackageJson.name}',
timestamp: ${date.toUTCString()},
timestamp: '${date.toUTCString()}',
version: '${PackageJson.version}'
};
`;
Expand Down

0 comments on commit f8871a5

Please sign in to comment.