{"action":"created","issue":{"url":"https://api.github.com/repos/kentcdodds/invoke-filter/issues/2","labels_url":"https://api.github.com/repos/kentcdodds/invoke-filter/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/kentcdodds/invoke-filter/issues/2/comments","events_url":"https://api.github.com/repos/kentcdodds/invoke-filter/issues/2/events","html_url":"https://github.com/kentcdodds/invoke-filter/issues/2","id":102427576,"number":2,"title":"dist directory not in the release :-(","user":{"login":"kentcdodds","id":1500684,"avatar_url":"https://avatars.githubusercontent.com/u/1500684?v=3","gravatar_id":"","url":"https://api.github.com/users/kentcdodds","html_url":"https://github.com/kentcdodds","followers_url":"https://api.github.com/users/kentcdodds/followers","following_url":"https://api.github.com/users/kentcdodds/following{/other_user}","gists_url":"https://api.github.com/users/kentcdodds/gists{/gist_id}","starred_url":"https://api.github.com/users/kentcdodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentcdodds/subscriptions","organizations_url":"https://api.github.com/users/kentcdodds/orgs","repos_url":"https://api.github.com/users/kentcdodds/repos","events_url":"https://api.github.com/users/kentcdodds/events{/privacy}","received_events_url":"https://api.github.com/users/kentcdodds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-21T17:30:32Z","updated_at":"2015-08-21T18:24:23Z","closed_at":null,"body":"@boennemann, could you help me here? If you see in my travis file, I run `npm run build`, this creates a `dist` directory that is referenced as my `main` in my `package.json`. When the build completes, semantic-release runs, but the resulting release is missing the `dist`. I think the problem is that I have the `dist` directory in the `.gitignore`. But I don't want to accidentally commit the `dist` directory into my repository. Should I just remove it from my `.gitignore` or is there any way to have a temporary directory that has everything I want released?"},"comment":{"url":"https://api.github.com/repos/kentcdodds/invoke-filter/issues/comments/133522841","html_url":"https://github.com/kentcdodds/invoke-filter/issues/2#issuecomment-133522841","issue_url":"https://api.github.com/repos/kentcdodds/invoke-filter/issues/2","id":133522841,"user":{"login":"boennemann","id":908178,"avatar_url":"https://avatars.githubusercontent.com/u/908178?v=3","gravatar_id":"","url":"https://api.github.com/users/boennemann","html_url":"https://github.com/boennemann","followers_url":"https://api.github.com/users/boennemann/followers","following_url":"https://api.github.com/users/boennemann/following{/other_user}","gists_url":"https://api.github.com/users/boennemann/gists{/gist_id}","starred_url":"https://api.github.com/users/boennemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boennemann/subscriptions","organizations_url":"https://api.github.com/users/boennemann/orgs","repos_url":"https://api.github.com/users/boennemann/repos","events_url":"https://api.github.com/users/boennemann/events{/privacy}","received_events_url":"https://api.github.com/users/boennemann/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T18:24:22Z","updated_at":"2015-08-21T18:24:22Z","body":"The `dist` folder can remain in the `.gitignore` file, as long as you maintain an `.npmignore` file that lists all the things you want to exclude from the released package. A way to debug this is using `npm pack`. It creates a tarball with exactly the contents that would get published to registry. Hope that helps :) Let me know if you need something."}}