{"action":"created","issue":{"url":"https://api.github.com/repos/erlware/relx/issues/315","labels_url":"https://api.github.com/repos/erlware/relx/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/erlware/relx/issues/315/comments","events_url":"https://api.github.com/repos/erlware/relx/issues/315/events","html_url":"https://github.com/erlware/relx/issues/315","id":57806153,"number":315,"title":"relx .tar.gz releases","user":{"login":"lrascao","id":639415,"avatar_url":"https://avatars.githubusercontent.com/u/639415?v=3","gravatar_id":"","url":"https://api.github.com/users/lrascao","html_url":"https://github.com/lrascao","followers_url":"https://api.github.com/users/lrascao/followers","following_url":"https://api.github.com/users/lrascao/following{/other_user}","gists_url":"https://api.github.com/users/lrascao/gists{/gist_id}","starred_url":"https://api.github.com/users/lrascao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrascao/subscriptions","organizations_url":"https://api.github.com/users/lrascao/orgs","repos_url":"https://api.github.com/users/lrascao/repos","events_url":"https://api.github.com/users/lrascao/events{/privacy}","received_events_url":"https://api.github.com/users/lrascao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-16T13:48:30Z","updated_at":"2015-02-16T14:11:30Z","closed_at":null,"body":"When generating a vx.y.z release, the {vsn, \"semver\"}  term in .app.src should be replaced with the actual version id, when building the .tar.gz that has no git repo in it the version is not correctly generated (relx --version returns: 0.0.0+build.fatal:Notagitrepository(oranyoftheparentdirectories):.git0.reffatal:Notagitrepository(oranyoftheparentdirectories):.git)\r\n\r\nThis fix would ease the introduction of relx to the brew package manager (https://github.com/Homebrew/homebrew/pull/36839) as well as others, rebar is already available there so it makes sense to have relx join it there."},"comment":{"url":"https://api.github.com/repos/erlware/relx/issues/comments/74513368","html_url":"https://github.com/erlware/relx/issues/315#issuecomment-74513368","issue_url":"https://api.github.com/repos/erlware/relx/issues/315","id":74513368,"user":{"login":"lrascao","id":639415,"avatar_url":"https://avatars.githubusercontent.com/u/639415?v=3","gravatar_id":"","url":"https://api.github.com/users/lrascao","html_url":"https://github.com/lrascao","followers_url":"https://api.github.com/users/lrascao/followers","following_url":"https://api.github.com/users/lrascao/following{/other_user}","gists_url":"https://api.github.com/users/lrascao/gists{/gist_id}","starred_url":"https://api.github.com/users/lrascao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrascao/subscriptions","organizations_url":"https://api.github.com/users/lrascao/orgs","repos_url":"https://api.github.com/users/lrascao/repos","events_url":"https://api.github.com/users/lrascao/events{/privacy}","received_events_url":"https://api.github.com/users/lrascao/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T14:11:30Z","updated_at":"2015-02-16T14:11:30Z","body":"Maybe there could be a script that generates a .tar.gz ready for release, that script does all the replacing that based on the current git tag, how is it being currently done?"}}