Skip to content

Commit 04aab7d

Browse files
committed
correctly JSON-encode the version information
1 parent 50cfda3 commit 04aab7d

File tree

1 file changed

+2
-2
lines changed
  • infrastructure/tooling/src/build/tasks

1 file changed

+2
-2
lines changed

infrastructure/tooling/src/build/tasks/common.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = ({tasks, cmdOptions, credentials, baseDir, logsDir}) => {
3333
});
3434

3535
return {
36-
'docker-flow-version': {
36+
'docker-flow-version': JSON.stringify({
3737
version: requirements['release-version'],
3838
commit: requirements['release-revision'],
3939
source: 'https://github.com/taskcluster/taskcluster',
@@ -44,7 +44,7 @@ module.exports = ({tasks, cmdOptions, credentials, baseDir, logsDir}) => {
4444
build: process.env.TASK_ID ?
4545
`${process.env.TASKCLUSTER_ROOT_URL}/tasks/${process.env.TASK_ID}` :
4646
'NONE',
47-
},
47+
}, null, 2),
4848
};
4949
},
5050
});

0 commit comments

Comments
 (0)