surge-synthesizer / stochas

The Stochas Sequencer
https://stochas.org
GNU General Public License v3.0
406 stars 35 forks source link

Release pipeline #10

Open baconpaul opened 3 years ago

baconpaul commented 3 years ago

The pipeline right now only releases on main and doesn't release on the 'release/blah' branches like surge. @baconpaul should fix this by

  1. adding a release/* to the - trigger section
  2. parsing out the branch name to set the STOCHAS version
  3. If you are a release, doing a create of a new tag rather than an update of nightly

And obviously needs to do this before the first release :)

henning commented 3 years ago

What I would find very great, too: the release packages files could reflect the state/version they are. Currently the Release "Dev Release 2020-10-14 987278a" has all exact same filenames as the other stable release, but different contents. One possible solution: add a "-dev-COMMITID" to the file names of development builds, so they can be tracked back when users install them, test, and find bugs.

rudeog commented 3 years ago

Henning, the reason I kept all the filenames the same is so that I could have links from elsewhere to the dev releases without having to update those links.

henning commented 3 years ago

ok, from a user perspective it can become very confusing to have three packages in your download folder with the same name and different versions, or overwriting the existing package with one with the same name but totally different contents, or having to rename the files on download etc. But I understand if that saves you a lot of work and time it must stay like this.

baconpaul commented 3 years ago

@rudeog if you want I can share the trick we use in the surge pipeline to update the website every time we drop a release (and that lets our nightly installers be named while we can have Jekyll links to the download). It requires a secret but your pipeline should have access to that secret already. Basically check out the end of our release pipeline and you can see us updating some stuff in our web repo. Trick is getting the web repo write access from a non-web-repo pipeline but I can share that method offline with you.

@henning with surge we change the name of the installer (.deb, .dmg, .exe) but the content names are unchanged and just overwrite, but like stochas we also put the version prominently in the UI.

rudeog commented 3 years ago

@baconpaul That would be great. I'm still working on the updated website believe it or not. Just haven't had time to finish it..

baconpaul commented 3 years ago

Ha! OK I'll send you a DM with some details on discord later tonight or tomorrow.