From 44e3e1de324579afabd0b9ac84f037101ba244fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Colladon?= Date: Mon, 24 Jul 2023 10:57:26 +0200 Subject: [PATCH] fix: linting issue --- .github/FUNDING.yml | 3 +-- .github/workflows/on-main-push.yml | 2 +- .yarnrc.yml | 1 + tooling/incrementApiVersion.sh | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 4bba100cc..5c38902d6 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,2 @@ -# These are supported funding model platforms - +--- github: [scolladon] diff --git a/.github/workflows/on-main-push.yml b/.github/workflows/on-main-push.yml index ac66594a9..26b8d36ab 100644 --- a/.github/workflows/on-main-push.yml +++ b/.github/workflows/on-main-push.yml @@ -85,7 +85,7 @@ jobs: yarn test:e2e perf: - needs: build + needs: prepare-release runs-on: ubuntu-latest if: needs.prepare-release.outputs.release_created == 'false' steps: diff --git a/.yarnrc.yml b/.yarnrc.yml index f1d64d5ae..891afacde 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,3 +1,4 @@ +--- nodeLinker: node-modules npmPublishRegistry: "https://registry.npmjs.org/" diff --git a/tooling/incrementApiVersion.sh b/tooling/incrementApiVersion.sh index cfa659f88..1e2974dd8 100755 --- a/tooling/incrementApiVersion.sh +++ b/tooling/incrementApiVersion.sh @@ -1,7 +1,7 @@ #!/bin/bash -filename=`find src/metadata -type f -name "v*.json" | sort | tail -1` -version=`echo "$filename" | tr -d -c 0-9` +filename=$(find src/metadata -type f -name "v*.json" | sort | tail -1) +version=$(echo "$filename" | tr -d -c 0-9) ((version++)) targetname="src/metadata/v${version}.json" -\cp "$filename" "$targetname" \ No newline at end of file +\cp "$filename" "$targetname"