From 26a1222767e7e38bd9e9b698d6f0538b9b3ad156 Mon Sep 17 00:00:00 2001 From: Xiao Gui Date: Tue, 11 Aug 2020 14:16:05 +0200 Subject: [PATCH] fix gha --- .github/workflows/cd-release.yml | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd-release.yml b/.github/workflows/cd-release.yml index fe88ee5..368a10f 100644 --- a/.github/workflows/cd-release.yml +++ b/.github/workflows/cd-release.yml @@ -9,14 +9,14 @@ jobs: runs-on: ubuntu-latest steps: - run: | - PACKAGEJSON_VER=v$(cat package.json | jq -r '.version') - echo PACKAGEJSON_VER $PACKAGEJSON_VER - echo GITHUB_REF $GITHUB_REF - if [ "$GITHUB_REF" = "$PACKAGEJSON_VER" ]; then - exit 0 - else - exit 1 - fi + PACKAGEJSON_VER=v$(cat package.json | jq -r '.version') + echo PACKAGEJSON_VER $PACKAGEJSON_VER + echo GITHUB_REF $GITHUB_REF + if [ "$GITHUB_REF" = "$PACKAGEJSON_VER" ]; then + exit 0 + else + exit 1 + fi create-release: runs-on: ubuntu-latest diff --git a/package.json b/package.json index 3f47a9e..e0474a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kg-dataset-previewer", - "version": "1.0.2", + "version": "1.0.3", "description": "Preview a few manually curated datasets.", "main": "dist/index.js", "module": "dist/index.mjs",