{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/1450","labels_url":"https://api.github.com/repos/syncthing/syncthing/issues/1450/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing/issues/1450/comments","events_url":"https://api.github.com/repos/syncthing/syncthing/issues/1450/events","html_url":"https://github.com/syncthing/syncthing/pull/1450","id":60789614,"number":1450,"title":"Make release with correct version in source (fixes #1449)","user":{"login":"calmh","id":125426,"avatar_url":"https://avatars.githubusercontent.com/u/125426?v=3","gravatar_id":"","url":"https://api.github.com/users/calmh","html_url":"https://github.com/calmh","followers_url":"https://api.github.com/users/calmh/followers","following_url":"https://api.github.com/users/calmh/following{/other_user}","gists_url":"https://api.github.com/users/calmh/gists{/gist_id}","starred_url":"https://api.github.com/users/calmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmh/subscriptions","organizations_url":"https://api.github.com/users/calmh/orgs","repos_url":"https://api.github.com/users/calmh/repos","events_url":"https://api.github.com/users/calmh/events{/privacy}","received_events_url":"https://api.github.com/users/calmh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-12T09:12:21Z","updated_at":"2015-03-12T09:54:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/syncthing/syncthing/pulls/1450","html_url":"https://github.com/syncthing/syncthing/pull/1450","diff_url":"https://github.com/syncthing/syncthing/pull/1450.diff","patch_url":"https://github.com/syncthing/syncthing/pull/1450.patch"},"body":"This adds the release version to the source so that tarball builds work as expected. It also adds a second commit directly after the release commit to make sure that subsequent tarball / `go get` builds look like dev builds and not the released version. Builds with git available are not affected as the version number then is still based on the git describe.\r\n\r\n```\r\njb@syno:~/src/github.com/syncthing/syncthing (master) $ ./make-release.sh v0.10.27\r\n[master f48c777] Set version to v0.10.27 for release\r\n 1 file changed, 1 insertion(+), 3 deletions(-)\r\n\r\nYou need a passphrase to unlock the secret key for\r\nuser: \"Syncthing Release Management <release@syncthing.net>\"\r\n2048-bit RSA key, ID D26E6ED000654A3E, created 2014-12-29\r\n\r\n[master 55d1982] Set version to v0.10.27-dev for development\r\n 1 file changed, 3 insertions(+), 1 deletion(-)\r\njb@syno:~/src/github.com/syncthing/syncthing (master) $ git gla -n4\r\n* 55d1982 (HEAD, master) Set version to v0.10.27-dev for development\r\n* f48c777 (tag: v0.10.27) Set version to v0.10.27 for release\r\n* 2aec6d6 Make release with correct version in source (fixes #1449)\r\n* 9c3cee9 (tag: v0.10.26, syncthing/master) Translation update\r\njb@syno:~/src/github.com/syncthing/syncthing (master) $ \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/comments/78450926","html_url":"https://github.com/syncthing/syncthing/pull/1450#issuecomment-78450926","issue_url":"https://api.github.com/repos/syncthing/syncthing/issues/1450","id":78450926,"user":{"login":"calmh","id":125426,"avatar_url":"https://avatars.githubusercontent.com/u/125426?v=3","gravatar_id":"","url":"https://api.github.com/users/calmh","html_url":"https://github.com/calmh","followers_url":"https://api.github.com/users/calmh/followers","following_url":"https://api.github.com/users/calmh/following{/other_user}","gists_url":"https://api.github.com/users/calmh/gists{/gist_id}","starred_url":"https://api.github.com/users/calmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmh/subscriptions","organizations_url":"https://api.github.com/users/calmh/orgs","repos_url":"https://api.github.com/users/calmh/repos","events_url":"https://api.github.com/users/calmh/events{/privacy}","received_events_url":"https://api.github.com/users/calmh/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T09:54:14Z","updated_at":"2015-03-12T09:54:14Z","body":"@AudriusButkevicius That still leaves the tarballs from our release page on Github here broken though."}}