AAVSO / VStar

VStar is a visualisation and analysis tool for variable star data brought to you by AAVSO
https://www.aavso.org/vstar
GNU Affero General Public License v3.0
9 stars 3 forks source link

Release creation automation on branch merge via GitHub Actions #340

Closed dbenn closed 1 year ago

dbenn commented 1 year ago

We already use GitHub actions to run tests on code commits. So, we do the first part of CI/CD (continuous integration, continuous deployment) but not yet the second. We already make development releases available via Dropbox (initiated by Max) on some occasions for testing and early access.

I have for some time wanted to automate nightly/daily releases to make stable (hopefully) merged-to-master builds available.

It's really just a variation on what we already do with Actions.

The idea would be to use a pre-release tag such as "nightly" or "daily" (since night or day is location based). See for example:

dbenn commented 1 year ago

Could also include a log of commits in lieu of hand-crafted change log, or simply rely on GitHub commit history for the tag.

dbenn commented 1 year ago

See also https://github.com/AAVSO/VStar/releases/tag/snapshot

dbenn commented 1 year ago

@mpyat2 I realised that I needed to change the on-spec to be triggered on push to master, not by a PR. I've committed that to master and it seems to work OK.