From 491169de17a09e039a8f99afa3c161fae6d45b63 Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Wed, 10 Aug 2022 14:10:15 -0500 Subject: [PATCH] Revise release procedure --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4d4df3c..226d4d2 100644 --- a/README.md +++ b/README.md @@ -12,16 +12,11 @@ See [action.yml](action.yml) and the [Pages starter workflows][starter-workflows In order to release a new version of this Action: -1. Locate the semantic version of the [upcoming release][release-list] (a draft is maintained by the [`draft-release` workflow][draft-release]) +1. Locate the semantic version of the [upcoming release][release-list] (a draft is maintained by the [`draft-release` workflow][draft-release]). -2. Push a matching tag (e.g.`v0.1.0`) **if** different than the `main` branch (if not, publishing the draft release will create it): +2. Publish the draft release from the `main` branch with semantic version as the tag name, _with_ the checkbox to publish to the GitHub Marketplace checked. :ballot_box_with_check: - ```bash - git tag v0.1.0 - git push origin v0.1.0 - ``` - -3. Publish the draft release (the major tag such as `v0` will be created/updated by the [`release` workflow][release]) +3. After publishing the release, the [`release` workflow][release] will automatically run to create/update the corresponding the major version tag such as `v0`. ⚠️ Environment approval is required. Check the [Release workflow run list][release-workflow-runs].