Skip to content

Commit

Permalink
let's see if this works
Browse files Browse the repository at this point in the history
  • Loading branch information
juliankrispel committed May 18, 2020
1 parent 313aff3 commit 2534fdf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion react/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.`)
}
})

Expand Down

0 comments on commit 2534fdf

Please sign in to comment.