Skip to content

Commit

Permalink
Meta: biblio: add commit field to package.json every publish (tc39#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 10, 2022
1 parent 27257a0 commit 3ea6895
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions biblio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@tc39/ecma262-biblio",
"version": "VERSIONED-DURING-PUBLISH",
"commit": "POPULATED-DURING-PUBLISH",
"description": "Machine-readable representation of the internals of the ecma-262 spec",
"keywords": [
"ecmascript"
Expand Down
2 changes: 2 additions & 0 deletions scripts/publish-biblio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ LONG_COMMIT=$(git rev-parse --verify HEAD)
echo "
This version was built from commit [${SHORT_COMMIT}](https://github.com/tc39/ecma262/tree/${LONG_COMMIT})." >> README.md

npm pkg set commit="${LONG_COMMIT}"

npm publish --access public

0 comments on commit 3ea6895

Please sign in to comment.