Skip to content

Commit

Permalink
chore: Add meta-data to core to ensure it is always released (aws-amp…
Browse files Browse the repository at this point in the history
…lify#13526)

* chore: Add meta-data to core to ensure it is always released.

* Ignore metadata file from license check.
  • Loading branch information
jimblanc authored Jun 21, 2024
1 parent e6c5f60 commit 90bc0e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion license_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"**/.rollup.cache",
"**/rollup.config.mjs",
"rollup",
".husky"
".husky",
"packages/core/metadata"
],
"ignoreFile": ".gitignore",
"license": "license_header.txt",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@
"unlink-all": "lerna exec --no-bail --parallel -- yarn unlink; exit 0",
"publish:preid": "./scripts/preid-env-vars-exist.sh && lerna publish --canary --force-publish --dist-tag=${PREID_PREFIX} --preid=${PREID_PREFIX}${PREID_HASH_SUFFIX} --yes",
"publish:main": "lerna publish --canary --force-publish --dist-tag=unstable --preid=unstable${PREID_HASH_SUFFIX} --yes",
"publish:release": "lerna publish --conventional-commits --message 'chore(release): Publish [skip release]' --yes",
"publish:release": "yarn generate-metadata && lerna publish --conventional-commits --message 'chore(release): Publish [skip release]' --yes",
"publish:v5-stable": "lerna publish --conventional-commits --yes --dist-tag=stable-5 --message 'chore(release): Publish [ci skip]' --no-verify-access",
"publish:verdaccio": "lerna publish --canary --force-publish --no-push --dist-tag=unstable --preid=unstable --yes",
"generate-metadata": "git rev-parse --short HEAD > packages/core/metadata && git commit -am 'chore: set core metadata [skip release]'",
"ts-coverage": "lerna run ts-coverage",
"prepare": "husky && ./scripts/set-preid-versions.sh"
},
Expand Down
1 change: 1 addition & 0 deletions packages/core/metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9d9192371

0 comments on commit 90bc0e3

Please sign in to comment.