diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d482fb..9e348c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - - name: Install changelog parser + - name: Install Dependencies run: yarn - name: Get Changelog Entry id: changelog_entry diff --git a/core/package.json b/core/package.json index 6a1d892..9fa3156 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "@zettel/core", - "version": "0.0.20", + "version": "0.0.21", "description": "Core module of zettel", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/react/package.json b/react/package.json index 9a140b4..bf97a4c 100644 --- a/react/package.json +++ b/react/package.json @@ -1,6 +1,6 @@ { "name": "@zettel/react", - "version": "0.0.20", + "version": "0.0.21", "description": "React view library for zettel", "main": "dist/index.js", "author": "Julian Krispel", diff --git a/scripts/release.js b/scripts/release.js index 5239b71..78c36d4 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -29,7 +29,7 @@ async function run() { packages.forEach(package => { const packageJson = JSON.parse(fs.readFileSync(path.join('./', package, 'package.json')).toString()) if (packageJson.version !== version.version) { - core.setFailed(`Release failed because version in changelog: ${version.version} isn't the same as version in ${packageJson.name} which is ${packageJson.version}`) + core.setFailed(`Release failed because version in changelog: ${version.version} isn't the schangelog parserame as version in ${packageJson.name} which is ${packageJson.version}. Update this package first.`) } })