Skip to content

Commit

Permalink
Merge pull request #621 from UKHomeOffice/stop-commiting-lockfile-whe…
Browse files Browse the repository at this point in the history
…n-publishing

CI: Commit correct file in version script
  • Loading branch information
daniel-ac-martin authored Jan 6, 2025
2 parents 8246ef0 + 14a2f9f commit ec6a0f0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .npm/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ sed -i -E "s/\"@(${name})\/([^\"]*)\":([^\"]*)\"[^:]+\"/\"@\1\/\2\":\3\"^${versi
{apps,components,lib}/*/package.json

# Stage modified files
git add \
lib/*/skel/*/package.json* \
{apps,components,lib}/*/package.json
git add -f pnpm-lock.yaml
cp pnpm-lock.yaml pnpm-lock-committed.yaml
git add \
lib/*/skel/*/package.json* \
{apps,components,lib}/*/package.json \
pnpm-lock-committed.yaml

2 comments on commit ec6a0f0

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://hods.netlify.app as production
🚀 Deployed on https://677bc1abba784e22850df6dd--hods.netlify.app

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please # to comment.