Skip to content

Commit 60cf783

Browse files
committed
docs(ci): correct create-release's github job comment about the tag job (#2329)
Problem: the comment above the `github` job's "Check the release tags name this run's commit" step claimed `tag` makes the same check via that step. `pypi` and `conda` do; `tag` has no such step -- its "Create Tag" step makes the equivalent comparison inline with `git rev-parse` on the tags its own checkout fetched, without `release_tags.resolve`'s fetch of the tag. Fix: reword the comment to name only `pypi` and `conda` as running the step, and describe what `tag` actually does instead.
1 parent 7886d9f commit 60cf783

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/create-release.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,12 @@ jobs:
446446
# ``action.yml``), so no ``env:`` names one.
447447
token: ${{ steps.app_token.outputs.token || secrets.GITHUB_TOKEN }}
448448

449-
# #1634: the same check ``tag``, ``pypi`` and ``conda`` make before they
450-
# publish under this tag. Here it catches the tag having existed already
451-
# at another commit, which ``action-gh-release`` silently reuses.
449+
# #1634: the same check ``pypi`` and ``conda`` make before they publish
450+
# under this tag. ``tag`` has no such step: its "Create Tag" makes the
451+
# equivalent comparison inline, ``git rev-parse`` on the tags its own
452+
# checkout fetched, without ``release_tags.resolve``'s fetch of the tag.
453+
# Here the check catches the tag having existed already at another commit, which
454+
# ``action-gh-release`` silently reuses.
452455
- name: Check the release tags name this run's commit
453456
env:
454457
PCAPKIT_TAGS: v${{ needs.version_check.outputs.PCAPKIT_VERSION }}

0 commit comments

Comments
 (0)