Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Apr 25, 2024
1 parent 62314c7 commit 678ed59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ publish() {

(popd > /dev/null && git cat-file blob "$VERSIONSHASH") | "$thisdir/set-versions.sh" .

# DEBUG
cat package.json
cat packages/*/package.json

yarn --version
yarn install
yarn build
git commit --allow-empty -am "chore: prepare for publishing"
Expand Down
1 change: 1 addition & 0 deletions scripts/set-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ VERSIONSHASH=$(git hash-object -w --stdin)
npm query .workspace \
| jq -r '.[].location | "\(.)/package.json"' \
| while read PACKAGEJSON; do
echo "$PACKAGEJSON"
PACKAGEJSONHASH=$(
jq --slurpfile versions <(git cat-file blob "$VERSIONSHASH") '
def update(name): if .[name] then {
Expand Down

0 comments on commit 678ed59

Please sign in to comment.