diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d830d3a20..88ef19491 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,9 @@ jobs: - name: Fetch tags run: git fetch --tags + - name: Current tag + run: git describe --tags --abbrev=0 2>/dev/null + - name: Get yarn cache directory path id: yarn_cache run: echo "::set-output name=YARN_CACHE_DIR::$(yarn cache dir)" diff --git a/package.json b/package.json index c2372f385..7160eb930 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build:icons": "babel-node ./scripts/buildIcons.js --presets @babel/env", "optimize": "babel-node ./scripts/optimizeSvgs.js --presets @babel/env", "addtags": "babel-node ./scripts/addMissingKeysToTags.js --presets @babel/env", - "generate:changelog": "babel-node ./scripts/generateChangelog.js --presets @babel/env" + "generate:changelog": "npx babel-node ./scripts/generateChangelog.js --presets @babel/env" }, "devDependencies": { "@ampproject/rollup-plugin-closure-compiler": "^0.25.2",