Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 1.05 KB

RELEASE.md

File metadata and controls

3 lines (2 loc) · 1.05 KB

Release Instructions

This tool uses the swift-version-file-plugin Swift Package Manager command plugin to maintain a source file--Sources/watcher/Version.swift--supplying the value that is returned when the tool is run with the --version option. To ensure that this is properly maintained, releases should only be created using the Prepare Release workflow. Run the workflow using workflow_dispatch event trigger from the main branch with the appropriate release type. This will create a new PR on a release branch containing an update to the Version file. Add any additional changes related to the release, like updating a changelog, to this PR. Finally, merge the release branch into main to delete it and trigger the Create Release workflow. This will create a new tag corresponding to the value of the updated Version file and a new release.