{"action":"created","issue":{"url":"https://api.github.com/repos/openstenoproject/plover/issues/401","repository_url":"https://api.github.com/repos/openstenoproject/plover","labels_url":"https://api.github.com/repos/openstenoproject/plover/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/openstenoproject/plover/issues/401/comments","events_url":"https://api.github.com/repos/openstenoproject/plover/issues/401/events","html_url":"https://github.com/openstenoproject/plover/pull/401","id":138809472,"number":401,"title":"Rework AppVeyor and Travis CI deployments","user":{"login":"benoit-pierre","id":5104286,"avatar_url":"https://avatars.githubusercontent.com/u/5104286?v=3","gravatar_id":"","url":"https://api.github.com/users/benoit-pierre","html_url":"https://github.com/benoit-pierre","followers_url":"https://api.github.com/users/benoit-pierre/followers","following_url":"https://api.github.com/users/benoit-pierre/following{/other_user}","gists_url":"https://api.github.com/users/benoit-pierre/gists{/gist_id}","starred_url":"https://api.github.com/users/benoit-pierre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoit-pierre/subscriptions","organizations_url":"https://api.github.com/users/benoit-pierre/orgs","repos_url":"https://api.github.com/users/benoit-pierre/repos","events_url":"https://api.github.com/users/benoit-pierre/events{/privacy}","received_events_url":"https://api.github.com/users/benoit-pierre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-06T16:48:48Z","updated_at":"2016-03-06T17:54:38Z","closed_at":"2016-03-06T17:01:33Z","pull_request":{"url":"https://api.github.com/repos/openstenoproject/plover/pulls/401","html_url":"https://github.com/openstenoproject/plover/pull/401","diff_url":"https://github.com/openstenoproject/plover/pull/401.diff","patch_url":"https://github.com/openstenoproject/plover/pull/401.patch"},"body":"The constraints:\r\n* Travis CI deploy on tag\r\n* when creating a draft release with AppVeyor, the tag creation is deferred to publication, so Travis CI (deployment) builds won't start until the release is published\r\n* it's better to create a draft release, so we get a chance to edit release notes, and test the build artifacts before the actual release\r\n\r\nSo this pull request change the process of creating a new weekly to:\r\n* run: `./setup.py tag_weekly`, this will tag the current `HEAD` based on the last stable release, e.g. `weekly-v2.5.8+443.gf47e969`\r\n* push the tag to GitHub (the branch does not matter)\r\n* AppVeyor and Travis CI will both start buildings, and their artifacts will be deployed to a draft release\r\n* edit the draft release notes, test the build artifacts\r\n* publish!\r\n\r\nNote:\r\n* the AppVeyor build version is no longer patched according to the version number, as this could result in multiple builds trying to use the same build number (different branches, or tag vs commit builds)\r\n* I removed the repository constraints for Travis CI deployment, as it's one less conflicting entry when setting up a custom repository\r\n* when we do actually release the next stable version, we'll be able to use a similar process: manually patch the version, commit, tag, push...\r\n"},"comment":{"url":"https://api.github.com/repos/openstenoproject/plover/issues/comments/192946656","html_url":"https://github.com/openstenoproject/plover/pull/401#issuecomment-192946656","issue_url":"https://api.github.com/repos/openstenoproject/plover/issues/401","id":192946656,"user":{"login":"morinted","id":5840970,"avatar_url":"https://avatars.githubusercontent.com/u/5840970?v=3","gravatar_id":"","url":"https://api.github.com/users/morinted","html_url":"https://github.com/morinted","followers_url":"https://api.github.com/users/morinted/followers","following_url":"https://api.github.com/users/morinted/following{/other_user}","gists_url":"https://api.github.com/users/morinted/gists{/gist_id}","starred_url":"https://api.github.com/users/morinted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morinted/subscriptions","organizations_url":"https://api.github.com/users/morinted/orgs","repos_url":"https://api.github.com/users/morinted/repos","events_url":"https://api.github.com/users/morinted/events{/privacy}","received_events_url":"https://api.github.com/users/morinted/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T17:54:38Z","updated_at":"2016-03-06T17:54:38Z","body":"This was pushed to weekly, I hadn't noticed.\r\n\r\nDo we want to put it into master, and do we want to have weekly rebased to master, or just a merge on every build?"}}