Skip to content

Commit e1be600

Browse files
authored
Merge pull request #265 from oasisprotocol/lw/commit-newline
Remove newline from BUILD_COMMIT
2 parents 85c7cec + 4b07ef1 commit e1be600

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.changelog/265.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove newline from BUILD_COMMIT

home/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default defineConfig({
2222
},
2323
define: {
2424
APP_VERSION: JSON.stringify(version),
25-
BUILD_COMMIT: JSON.stringify(execSync('git rev-parse HEAD').toString()),
25+
BUILD_COMMIT: JSON.stringify(execSync('git rev-parse HEAD').toString().trim()),
2626
BUILD_DATETIME: JSON.stringify(new Date().getTime()),
2727
GITHUB_REPOSITORY_URL: JSON.stringify('https://github.com/oasisprotocol/rose-app/'),
2828
OASIS_HOME_PAGE_URL: JSON.stringify('https://oasisprotocol.org/'),

0 commit comments

Comments
 (0)