From 8c2daa3e2457246a5cdc07e3e1f89c5c767a1056 Mon Sep 17 00:00:00 2001 From: Robin Munn Date: Mon, 19 Feb 2018 19:52:14 +0700 Subject: [PATCH] Make build.sh executable via post-action --- Content/.template.config/template.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Content/.template.config/template.json b/Content/.template.config/template.json index d09759e0..3195f36a 100644 --- a/Content/.template.config/template.json +++ b/Content/.template.config/template.json @@ -130,5 +130,15 @@ } ] } - } + }, + "postActions": [{ + "condition": "(OS != \"windows\")", + "description": "Make scripts executable", + "manualInstructions": [ { "text": "Run 'chmod +x *.sh'" } ], + "actionId": "cb9a6cf3-4f5c-4860-b9d2-03a574959774", + "args": { + "+x": "*.sh" + }, + "continueOnError": true + }] }