From b11e6bf7efd0a62142e69139d1a1bf3ef056cd54 Mon Sep 17 00:00:00 2001 From: Dimitri Stallenberg Date: Wed, 25 Jan 2023 13:52:04 +0100 Subject: [PATCH 1/2] fix: accidentally removed npm build from prepare script --- .github/workflows/publish.yml | 1 + CHANGELOG.md | 9 ++++++++- package.json | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 28e954a..d5152be 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,6 +15,7 @@ jobs: node-version: 16 registry-url: "https://registry.npmjs.org" - run: npm install + - run: npm build # Publish to npm - run: npm publish --access public env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c0a84f..5142223 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security +## [0.2.1] - 2023-01-25 + +### Fixed + +- Package build: npm build was not being called before publish + ## [0.2.0] - 2023-01-18 ### Added @@ -49,7 +55,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Solidity instrumentation - Solidity specific search criteria (i.e., probe coverage) -[unreleased]: https://github.com/syntest-framework/syntest-solidity/compare/v0.2.0...HEAD +[unreleased]: https://github.com/syntest-framework/syntest-solidity/compare/v0.2.1...HEAD +[0.2.1]: https://github.com/syntest-framework/syntest-solidity/releases/tag/v0.2.0...v0.2.1 [0.2.0]: https://github.com/syntest-framework/syntest-solidity/releases/tag/v0.1.2...v0.2.0 [0.1.2]: https://github.com/syntest-framework/syntest-solidity/releases/tag/v0.1.1...v0.1.2 [0.1.1]: https://github.com/syntest-framework/syntest-solidity/releases/tag/v0.1.0...v0.1.1 diff --git a/package.json b/package.json index a8a5141..0798f35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@syntest/solidity", - "version": "0.2.0", + "version": "0.2.1", "description": "SynTest Solidity is a tool for automatically generating test cases for the Solidity platform", "keywords": [ "syntest", @@ -41,7 +41,7 @@ "format:check": "prettier --config .prettierrc.json --ignore-path .prettierignore --check .", "lint": "eslint --config .eslintrc.json --ignore-path .eslintignore .", "lint:fix": "eslint --config .eslintrc.json --ignore-path .eslintignore . --fix", - "prepare": "husky install", + "prepare": "npm run build && husky install", "run": "truffle run syntest-solidity", "test": "mocha --config .mocharc.json", "test:coverage": "nyc mocha --config .mocharc.json", From 5e954dfd06463ec0c8c2fbedab8c04074643e7d2 Mon Sep 17 00:00:00 2001 From: Dimitri Stallenberg Date: Wed, 25 Jan 2023 13:57:37 +0100 Subject: [PATCH 2/2] ci: remove npm build from publish workflow --- .github/workflows/publish.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d5152be..28e954a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,6 @@ jobs: node-version: 16 registry-url: "https://registry.npmjs.org" - run: npm install - - run: npm build # Publish to npm - run: npm publish --access public env: