diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dfb1a1e..e014836 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + fetch-depth: 2 - uses: actions/setup-node@v3 with: @@ -37,7 +39,7 @@ jobs: - name: Check for version change id: version-check run: | - [ "$(git show head^:package.json | jq .version)" = "$(cat package.json| jq .version)" ] && echo "::set-output name=version_changed::true" || echo "::set-output name=version_changed::false" + [ "$(git show head^:package.json | jq .version)" = "$(cat package.json | jq .version)" ] && echo "::set-output name=version_changed::true" || echo "::set-output name=version_changed::false" - name: Copy relevant documentation into the build folder if: steps.version-check.outputs.version_changed == 'true' diff --git a/package.json b/package.json index ca57aef..3a74652 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "drand-client", - "version": "1.2.4", + "version": "1.2.5", "description": "A client to the drand randomness beacon network.", "main": "index.js", "types": "index.d.ts",