MarkGotham / When-in-Rome

meta-corpus of and code library for the functional harmonic analysis of music
58 stars 12 forks source link

Automatic release based on tags #85

Closed napulen closed 1 year ago

napulen commented 1 year ago

The idea of this gh-actions workflow is very simple:

Every time a new tag is created, the script will

It is a very simple idea but I think very powerful and sustainable.

On the side of the developer, this is what needs to be done:

$ git tag vX.Y
$ git push origin --tags

And that's it. vX.Y of the dataset will be publicly available, and a .zip file for the repository (or only the Corpus) will be created and freely available to the public.

If additional steps are necessary (e.g., also push the Code repository on its own zip file), the .yml script should be easily adaptable.

MarkGotham commented 1 year ago

Great, thanks! Merging and testing now.