bird-house / finch

A Web Processing Service for Climate Indicators
https://finch.readthedocs.io/en/latest/
Apache License 2.0
13 stars 5 forks source link

Prepare v0.11.2 and automate the release process #292

Closed Zeitsperre closed 1 year ago

Zeitsperre commented 1 year ago

Overview

Changes:

Zeitsperre commented 1 year ago

I've made it so that bumping version and releasing is only done via workflow dispatch. Fewer moving parts. Much simpler.

tlvu commented 1 year ago

I've made it so that bumping version and releasing is only done via workflow dispatch. Fewer moving parts. Much simpler.

What is workflow dispatch?

Zeitsperre commented 1 year ago

@tlvu I just need you to approve this before I can go forward. In case I don't see it today, would you mind merging when ready?

tlvu commented 1 year ago

@Zeitsperre merged the PR so the release date matches the one in CHANGES.md. However we should update that date at the same time we perform bump2version. Can be done in another PR. Sample code: https://github.com/bird-house/birdhouse-deploy/blob/2b344d3383d8c0cd3f4cc4a0bf4266e3bae06a47/.bumpversion.cfg#L11-L22

tlvu commented 1 year ago

@Zeitsperre I guess for this time only I have to manually push the tag v0.11.2?

Zeitsperre commented 1 year ago

Good idea for the date management. I didn't realize that we could leverage that functionality. Would simplify things in many projects.

The Action is already working: https://github.com/bird-house/finch/actions/workflows/bump-version-tag.yml (though, there was a bug in the naming code; fixed on master now).

We don't need to do any manual pushing of tags; I've added a PAT for that action specifically for this purpose.