From f80eb22b94ca80c7295050d983ab733c88aeb48c Mon Sep 17 00:00:00 2001 From: Kien Nguyen Date: Tue, 24 Sep 2024 11:31:14 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20(jfrog)=20[NO-ISSUE]:=20Re?= =?UTF-8?q?name=20changeset=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/tender-rings-leave.md | 2 +- .github/workflows/release.yml | 12 ++++++++++++ packages/core/package.json | 2 +- packages/signer/context-module/package.json | 2 +- packages/signer/keyring-btc/package.json | 2 +- packages/signer/keyring-eth/package.json | 2 +- packages/trusted-apps/package.json | 2 +- packages/ui/package.json | 2 +- 8 files changed, 19 insertions(+), 7 deletions(-) diff --git a/.changeset/tender-rings-leave.md b/.changeset/tender-rings-leave.md index 698f206da..731e8428b 100644 --- a/.changeset/tender-rings-leave.md +++ b/.changeset/tender-rings-leave.md @@ -1,5 +1,5 @@ --- -"@ledgerhq/device-sdk-core": patch +"@ledgerhq/device-management-kit": patch --- Add ListDeviceSessions use case diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28a55493d..5dfd54bca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,6 +44,9 @@ jobs: registry=https://${NPM_REGISTRY}/ //${NPM_REGISTRY}/:_authToken=${NPM_REGISTRY_TOKEN} EOF + + - name: Create dist directory to store tarball + run: mkdir -p dist - name: Publish id: changesets @@ -55,6 +58,15 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }} + - name: Check dist directory to store tarball + if: steps.changesets.outputs.published == 'true' + run: | + echo "Checking directory" + ls -al + + echo "Checking dist directory" + ls -al dist + - name: Attest tarball if: steps.changesets.outputs.published == 'true' uses: LedgerHQ/actions-security/actions/attest@actions/attest-1 diff --git a/packages/core/package.json b/packages/core/package.json index 688e31bcb..4c81bfaac 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -32,7 +32,7 @@ "dev:cjs": "concurrently \"tsc --watch -p tsconfig.cjs.json\" \"tsc-alias --watch -p tsconfig.cjs.json\"", "lint": "eslint", "lint:fix": "pnpm lint --fix", - "postpack": "find . -name '*.tgz' -exec mv ../../dist/ \\; 2> /dev/null", + "postpack": "find . -name '*.tgz' -exec mv ../../dist/ \\; ", "prettier": "prettier . --check", "prettier:fix": "prettier . --write", "test": "jest", diff --git a/packages/signer/context-module/package.json b/packages/signer/context-module/package.json index 5eff5293f..30e809467 100644 --- a/packages/signer/context-module/package.json +++ b/packages/signer/context-module/package.json @@ -33,7 +33,7 @@ "dev:cjs": "concurrently \"tsc --watch -p tsconfig.cjs.json\" \"tsc-alias --watch -p tsconfig.cjs.json\"", "lint": "eslint", "lint:fix": "pnpm lint --fix", - "postpack": "find . -name '*.tgz' -exec mv ../../../dist/ \\; 2> /dev/null", + "postpack": "find . -name '*.tgz' -exec mv ../../../dist/ \\; ", "prettier": "prettier . --check", "prettier:fix": "prettier . --write", "test": "jest", diff --git a/packages/signer/keyring-btc/package.json b/packages/signer/keyring-btc/package.json index a5e72dd4b..a5be6fb50 100644 --- a/packages/signer/keyring-btc/package.json +++ b/packages/signer/keyring-btc/package.json @@ -35,7 +35,7 @@ "dev:cjs": "concurrently \"tsc --watch -p tsconfig.cjs.json\" \"tsc-alias --watch -p tsconfig.cjs.json\"", "lint": "eslint", "lint:fix": "pnpm lint --fix", - "postpack": "find . -name '*.tgz' -exec mv ../../../dist/ \\; 2> /dev/null", + "postpack": "find . -name '*.tgz' -exec mv ../../../dist/ \\; ", "prettier": "prettier . --check", "prettier:fix": "prettier . --write", "typecheck": "tsc --noEmit", diff --git a/packages/signer/keyring-eth/package.json b/packages/signer/keyring-eth/package.json index 7e24cc713..eb20aeabe 100644 --- a/packages/signer/keyring-eth/package.json +++ b/packages/signer/keyring-eth/package.json @@ -35,7 +35,7 @@ "dev:cjs": "concurrently \"tsc --watch -p tsconfig.cjs.json\" \"tsc-alias --watch -p tsconfig.cjs.json\"", "lint": "eslint", "lint:fix": "pnpm lint --fix", - "postpack": "find . -name '*.tgz' -exec mv ../../../dist/ \\; 2> /dev/null", + "postpack": "find . -name '*.tgz' -exec mv ../../../dist/ \\; ", "prettier": "prettier . --check", "prettier:fix": "prettier . --write", "typecheck": "tsc --noEmit", diff --git a/packages/trusted-apps/package.json b/packages/trusted-apps/package.json index 9cf1100ae..44500d9f9 100644 --- a/packages/trusted-apps/package.json +++ b/packages/trusted-apps/package.json @@ -35,7 +35,7 @@ "dev:cjs": "concurrently \"tsc --watch -p tsconfig.cjs.json\" \"tsc-alias --watch -p tsconfig.cjs.json\"", "lint": "eslint", "lint:fix": "pnpm lint --fix", - "postpack": "find . -name '*.tgz' -exec mv ../../dist/ \\; 2> /dev/null", + "postpack": "find . -name '*.tgz' -exec mv ../../dist/ \\; ", "prettier": "prettier . --check", "prettier:fix": "prettier . --write", "typecheck": "tsc --noEmit", diff --git a/packages/ui/package.json b/packages/ui/package.json index 1ddf2bbfa..64212759d 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -35,7 +35,7 @@ "dev:cjs": "concurrently \"tsc --watch -p tsconfig.cjs.json\" \"tsc-alias --watch -p tsconfig.cjs.json\"", "lint": "eslint", "lint:fix": "pnpm lint --fix", - "postpack": "find . -name '*.tgz' -exec mv ../../dist/ \\; 2> /dev/null", + "postpack": "find . -name '*.tgz' -exec mv ../../dist/ \\; ", "prettier": "prettier . --check", "prettier:fix": "prettier . --write", "typecheck": "tsc --noEmit",