Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Conversation

@daviwil
Copy link
Contributor

@daviwil daviwil commented Aug 14, 2018

Description of the Change

This PR adds logic to our VSTS release build definition to enable the creation of draft GitHub releases when successful builds are produced on release branches (those named 1.xx-releases).

NOTE: This change will not be turned on by default until 32-bit Windows builds are being produced on VSTS. This PR just adds the necessary release automation so that it's ready once those builds are being produced.

Alternate Designs

Why Should This Be In Core?

This is a build script for Atom.

Benefits

Draft releases are now created automatically for every successful build on a release branch. This removes the need for an Atom developer to go manually create a draft release with a separate internal tool.

This change also sets the stage for performing the final publishing steps with VSTS in an automated way.

Possible Drawbacks

None that I can think of.

Verification Process

  • Verify that a draft release successfully gets created from a simulated release build

This is a screenshot of a draft release created as a result of this build:

image

Applicable Issues

None.

TODO

  • Add changelog generation and save changelog from previously published release with the same version

@daviwil
Copy link
Contributor Author

daviwil commented Oct 31, 2018

The work is almost done here, just need to test with a few more simulated release builds before merging!

@daviwil daviwil changed the title WIP: Enable stable and beta draft release creation on VSTS Enable stable and beta draft release creation on VSTS Feb 8, 2019
@daviwil
Copy link
Contributor Author

daviwil commented Feb 8, 2019

Merging this despite unrelated test flakes, planning to test-drive this for the upcoming release.

@daviwil daviwil merged commit af92156 into master Feb 8, 2019
@daviwil daviwil deleted the dw-draft-releases branch February 8, 2019 23:24
daviwil added a commit that referenced this pull request Feb 11, 2019
Enable stable and beta draft release creation on VSTS
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants