afids / afids-validator

Validator for the anatomical fiducial placement protocol
https://validator.afids.io
GNU General Public License v3.0
2 stars 4 forks source link

MAINT: Prerelease drafter #170

Closed kaitj closed 2 years ago

kaitj commented 2 years ago

Proposed changes

Introduces versioning for prereleases - these are tagged as major.minor.patch-prelease.<version>. Every merged PR will have be tagged! This has been tested on a fork and does not clash with release-drafter. For example, a release from 1.0.8-prerelease.0 will still be bumped to 1.0.8 via release-drafter.

This workflow also introduces using a manual actions trigger to deploy a release rather than going to the drafted change log. I've tried to add a safety mechanism by requiring some user input before it can be triggered. Hopefully this will avoid some accidental releases (but of course this is not completely fool proof). It has the same level of security required as someone going into the draft and manually triggering a release that way.

Some additional comments for future actions implementations:

Types of changes

What types of changes does your code introduce? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you are unsure about any of the choices, don't hesitate to ask!

Notes

All PRs will undergo the unit testing before being reviewed. You may be requested to explain or make additional changes before the PR is accepted.

_PR template was adopted from appium_