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..b6925de8e 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..09c81b76c 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..6b4ac3f40 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..b69508a63 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..4a83e7664 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..09169c814 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",