Skip to content

Commit 7e392b6

Browse files
authored
Merge pull request #37 from rmunn/executable-build-script
Make build.sh executable via post-action
2 parents e0514b1 + 213361b commit 7e392b6

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Content/.template.config/template.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,15 @@
1515
"type": "parameter",
1616
"replaces":"MyGithubUsername"
1717
}
18-
}
19-
}
18+
},
19+
"postActions": [{
20+
"condition": "(OS != \"windows\")",
21+
"description": "Make scripts executable",
22+
"manualInstructions": [ { "text": "Run 'chmod +x *.sh'" } ],
23+
"actionId": "cb9a6cf3-4f5c-4860-b9d2-03a574959774",
24+
"args": {
25+
"+x": "*.sh"
26+
},
27+
"continueOnError": true
28+
}]
29+
}

0 commit comments

Comments
 (0)