lukas-w / font-logos

An icon font providing popular linux distro's logos
https://lukas-w.github.io/font-logos
The Unlicense
445 stars 85 forks source link

CI: Automate release workflow #102

Closed Finii closed 1 year ago

Finii commented 1 year ago

[why] Releasing is too hard.

[how] The maintainer needs to set a new version in the package.json. Afterwards the release draft creator can be manually triggered on the Actions tab of the Github repo.

This will draft a release with a new font generated from the current vectors. And the current commit will be git tagged with the release version.

Fixes: #29

Finii commented 1 year ago

I imitated the contents of the release v1.0.1 files. Not sure that all that files are really useful. Otoh do not know if this npm thing need it.

Finii commented 1 year ago

Just noticed that the files are not automagically compressed. I'm always confused, sometimes they are, sometimes not. I think the normal action artifacts are always packed, and the release artifacts not... :thinking: :grimacing:

image

Finii commented 1 year ago

Ok, this seems ready. I tested everything except the final publish-to-npm.

Will try to use the workflow to get v1.0.1 published, this will involve some tricks, though.

Finii commented 1 year ago

Test on v1.0.1, success:

image

image

Finii commented 1 year ago

https://www.npmjs.com/package/font-logos

image

Finii commented 1 year ago

Actual assets missing?? Working on it...

image

Finii commented 1 year ago

Fixed via the following commits. Needed to increase version because NPM does not allow any other change

image

Sorry :unamused: