Skip to content

Commit 5f394e7

Browse files
committed
Add comment explaining version hook
1 parent a0b1438 commit 5f394e7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
- name: Update package version and CHANGELOG
6868
run: |
6969
npm version --no-git-tag-version --workspace govuk-frontend "$RELEASE_TYPE" --preid "$PREID"
70+
# After `npm version` runs, the `version` lifecycle hook script from the govuk-frontend package
71+
# will be run which then updates the CHANGELOG.
7072
7173
# Save the new version number for access in future steps
7274
echo "PACKAGE_VERSION=$(npm run get-version --silent --workspace govuk-frontend)" >> $GITHUB_ENV

0 commit comments

Comments
 (0)