Skip to content

Commit

Permalink
fix at version generator
Browse files Browse the repository at this point in the history
  • Loading branch information
furknyavuz committed Sep 7, 2021
1 parent c02f141 commit a1c122d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/environments/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '2.5.3';
export const version = '2.6.0';
9 changes: 5 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html lang="en"><head>
<!DOCTYPE html><html lang="en"><head>
<title>Open Template Hub</title>
<base href="/">

Expand Down Expand Up @@ -28,9 +28,9 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

<link href="assets/favicons/apple-touch-icon.png" rel="apple-touch-icon">
<link href="assets/favicons/favicon.png?v=2_5_3" rel="shortcut icon" type="image/png">
<link href="assets/favicons/site.webmanifest?v=2_5_3" rel="manifest">
<link href="assets/favicons/safari-pinned-tab.svg?v=2_5_3" rel="mask-icon" color="#43b043">
<link href="assets/favicons/favicon.png?v=2_6_0" rel="shortcut icon" type="image/png">
<link href="assets/favicons/site.webmanifest?v=2_6_0" rel="manifest">
<link href="assets/favicons/safari-pinned-tab.svg?v=2_6_0" rel="mask-icon" color="#43b043">

<meta content="assets/favicons/browserconfig.xml" name="msapplication-config">
<meta content="#43b043" name="msapplication-TileColor">
Expand Down Expand Up @@ -160,4 +160,5 @@ <h2>Open Template Hub</h2>




</body></html>
2 changes: 1 addition & 1 deletion version-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ JSDOM.fromFile( './src/index.html' ).then( dom => {
favicon.setAttribute( 'href', hrefWithVersion );
}

fs.writeFile( './src/index.html', dom.window.document.documentElement.outerHTML, () => {
fs.writeFile( './src/index.html', '<!DOCTYPE html>' + dom.window.document.documentElement.outerHTML, () => {
// Intentionally blank
} );
} );

0 comments on commit a1c122d

Please sign in to comment.