Skip to content

[dev]: research automating the release process #2817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jsjoeio opened this issue Mar 4, 2021 · 8 comments
Closed

[dev]: research automating the release process #2817

jsjoeio opened this issue Mar 4, 2021 · 8 comments
Assignees
Labels
chore Related to maintenance or clean up enhancement Some improvement that isn't a feature
Milestone

Comments

@jsjoeio
Copy link
Contributor

jsjoeio commented Mar 4, 2021

Problem

Right now, the release process is rather tedious and manual. See steps here.

We would like to solve this and make it easier and faster for maintainers to release code-server.

Solutions

@jsjoeio jsjoeio added the enhancement Some improvement that isn't a feature label Mar 4, 2021
@greyscaled
Copy link
Contributor

Happy to help somewhere along the lines if needed!

@jsjoeio jsjoeio added the chore Related to maintenance or clean up label May 14, 2021
@jsjoeio jsjoeio added this to the 3.12.1 milestone Sep 15, 2021
@jsjoeio
Copy link
Contributor Author

jsjoeio commented Oct 4, 2021

Maybe we can combine it with changelogs following these guidelines

@jsjoeio jsjoeio changed the title [dev]: automate release process [dev]: research automate release process Mar 15, 2022
@jsjoeio jsjoeio self-assigned this Mar 15, 2022
@jsjoeio jsjoeio changed the title [dev]: research automate release process [dev]: research automating the release process Mar 15, 2022
@jsjoeio
Copy link
Contributor Author

jsjoeio commented Mar 15, 2022

We're less tied to tools like semantic-release and more tied to, "What do we want the release process to look like"?

One vision:

Just create a release on github, point to a commit, the rest is automatic

@jsjoeio
Copy link
Contributor Author

jsjoeio commented Mar 15, 2022

Raw Notes

@code-asher and I were talking about some ideas for improving this.

  1. open PR to update CHANGELOG and run pre-release script to update versions in text and stuff
  2. after that's merged, create GitHub release. on created

Hmm.. not sure if this could work:

Note: Workflows are not triggered for the created, edited, or deleted activity types for draft releases. When you create your release through the GitHub browser UI, your release may automatically be saved as a draft.

@jsjoeio
Copy link
Contributor Author

jsjoeio commented Aug 31, 2022

Latest discussion:

  1. update changelog if we have been forgetting to do it as we go
  2. tag a commit
  3. release is made and uploaded to a draft pr
  4. publish the release after testing it
  5. automatic prs are sent to aur, brew, and code-server
  6. we approve and merge the aur and code-server prs

@code-asher
Copy link
Member

Still could use work, but I think at the moment the status quo is reasonable enough with the roughly monthly releases.

@jsjoeio
Copy link
Contributor Author

jsjoeio commented Apr 29, 2024

agreed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Related to maintenance or clean up enhancement Some improvement that isn't a feature
Projects
None yet
Development

No branches or pull requests

3 participants