diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 7869204..41f9772 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -9,5 +9,6 @@ jobs: # TODO: update to released workflow uses: IronCoreLabs/workflows/.github/workflows/typescript-release.yaml@add-typescript-release with: - pre_publish_steps: "./build.js; cd dist" + pre_publish_steps: "./build.js" + publish_working_directory: "dist" secrets: inherit diff --git a/CHANGELOG.md b/CHANGELOG.md index 8340399..7283d7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 1.1.0 +## 1.1.1 ### Breaking Changes diff --git a/package.json b/package.json index e7cf778..07ee69f 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "build": "./build.js", "test": "yarn run lint && yarn run unit", "unit": "jest --coverage", - "lint": "tslint -p \"tsconfig.json\" -e \"**/tests/**\" \"src/**/*.ts\"" + "lint": "tslint -p \"tsconfig.json\" -e \"**/tests/**\" \"src/**/*.ts\"", + "prepublishOnly": "[ -f index.js ] || (echo \"index.js not found. Ensure you're publishing from ./dist.\" && exit 1)" }, "dependencies": { "@ironcorelabs/recrypt-node-binding": "^0.11.0",