{"action":"created","issue":{"url":"https://api.github.com/repos/projectkudu/KuduScript/issues/28","labels_url":"https://api.github.com/repos/projectkudu/KuduScript/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/projectkudu/KuduScript/issues/28/comments","events_url":"https://api.github.com/repos/projectkudu/KuduScript/issues/28/events","html_url":"https://github.com/projectkudu/KuduScript/issues/28","id":100149345,"number":28,"title":"Update ASP.NET 5 deployment script to publish with --no-source and --configuration Release","user":{"login":"DamianEdwards","id":249088,"avatar_url":"https://avatars.githubusercontent.com/u/249088?v=3","gravatar_id":"","url":"https://api.github.com/users/DamianEdwards","html_url":"https://github.com/DamianEdwards","followers_url":"https://api.github.com/users/DamianEdwards/followers","following_url":"https://api.github.com/users/DamianEdwards/following{/other_user}","gists_url":"https://api.github.com/users/DamianEdwards/gists{/gist_id}","starred_url":"https://api.github.com/users/DamianEdwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DamianEdwards/subscriptions","organizations_url":"https://api.github.com/users/DamianEdwards/orgs","repos_url":"https://api.github.com/users/DamianEdwards/repos","events_url":"https://api.github.com/users/DamianEdwards/events{/privacy}","received_events_url":"https://api.github.com/users/DamianEdwards/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-10T19:33:44Z","updated_at":"2015-09-14T17:54:47Z","closed_at":null,"body":"Make Kudu deployment script publish with `--no-source --configuration Release` so app doesn’t have to compile on startup and is compiled with optimizations."},"comment":{"url":"https://api.github.com/repos/projectkudu/KuduScript/issues/comments/140159425","html_url":"https://github.com/projectkudu/KuduScript/issues/28#issuecomment-140159425","issue_url":"https://api.github.com/repos/projectkudu/KuduScript/issues/28","id":140159425,"user":{"login":"hoetz","id":3835948,"avatar_url":"https://avatars.githubusercontent.com/u/3835948?v=3","gravatar_id":"","url":"https://api.github.com/users/hoetz","html_url":"https://github.com/hoetz","followers_url":"https://api.github.com/users/hoetz/followers","following_url":"https://api.github.com/users/hoetz/following{/other_user}","gists_url":"https://api.github.com/users/hoetz/gists{/gist_id}","starred_url":"https://api.github.com/users/hoetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoetz/subscriptions","organizations_url":"https://api.github.com/users/hoetz/orgs","repos_url":"https://api.github.com/users/hoetz/repos","events_url":"https://api.github.com/users/hoetz/events{/privacy}","received_events_url":"https://api.github.com/users/hoetz/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T17:54:47Z","updated_at":"2015-09-14T17:54:47Z","body":"I just set SCM_DNU_PUBLISH_OPTIONS to --configuration Release but after deploying to Azure via github my app is broken as long as I have\r\n\r\n#if DEBUG\r\n          .AddJsonFile(\"secret.json\") //only for debug, use Azure env. vars when deployed\r\n#else\r\n\r\nin my Startup.cs"}}