Skip to content

Commit de8d980

Browse files
authored
Merge pull request #92 from actions/release-process-improvements
Improve the release process documentation
2 parents 6f827f0 + 83b6c92 commit de8d980

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,17 @@ In order to release a new version of this Action:
7474

7575
1. Locate the semantic version of the [upcoming release][release-list] (a draft is maintained by the [`draft-release` workflow][draft-release]).
7676

77-
2. Prepare a pull request to update [`action.yml`][action.yml] to reference the incoming version
77+
2. Prepare a pull request to update [`action.yml`][action.yml] to reference the incoming version, get it approved, and merge it into the `main` branch.
7878

79-
3. 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:
79+
3. Publish the draft release **as a pre-release** from the `main` branch with semantic version as the tag name, _with_:
80+
- the checkbox to publish to the GitHub Marketplace checked :ballot_box_with_check:
81+
- :warning: _AND_ the checkbox to **Set as a pre-release** checked. :ballot_box_with_check:
8082

81-
4. After publishing the release, the [`release` workflow][release] will automatically run to create/update the corresponding the major version tag such as `v1`.
83+
4. This will kick off a [Docker publishing workflow][docker-publish] for the newly created tag. Check the [associated workflow run list][docker-publish-workflow-runs] to verify the new Docker image is created successfully before moving on to the next step.
84+
85+
5. After the Docker image has been created with the new tag, find that [same pre-release][release-list] and edit it. Update it with the checkbox to **Set as the latest release** checked :ballot_box_with_check: and then publish it again.
86+
87+
6. After publishing it as the latest release, the [`release` workflow][release] will automatically run to create/update the corresponding the major version tag such as `v1`.
8288

8389
⚠️ Environment approval is required. Check the [Release workflow run list][release-workflow-runs].
8490

@@ -88,7 +94,9 @@ The scripts and documentation in this project are released under the [MIT Licens
8894

8995
<!-- references -->
9096
[release-list]: https://github.com/actions/jekyll-build-pages/releases
91-
[draft-release]: .github/workflows/release.yml
97+
[draft-release]: .github/workflows/draft-release.yml
98+
[docker-publish]: .github/workflows/docker-publish.yml
9299
[release]: .github/workflows/release.yml
93-
[release-workflow-runs]: https://github.com/actions/deploy-pages/actions/workflows/release.yml
100+
[docker-publish-workflow-runs]: https://github.com/actions/jekyll-build-pages/actions/workflows/docker-publish.yml
101+
[release-workflow-runs]: https://github.com/actions/jekyll-build-pages/actions/workflows/release.yml
94102
[action.yml]: https://github.com/actions/jekyll-build-pages/blob/649f5d3c2b2462620c8945f034200e431ceddd29/action.yml#LL31C54-L31C60

0 commit comments

Comments
 (0)