From 1d4c41cba6ed3ccb0aaaadaab2a10129b7d51c5e Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Sat, 29 Apr 2023 22:50:12 +0200 Subject: [PATCH 1/2] test --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43ad3285..98379734 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,4 +57,5 @@ jobs: - run: npm run document env: CI: true + - run: sed -i'' -r "s/const VERSION_STRING = '.*'/const VERSION_STRING = '2.1.0'/" ./src/Parse/ParseClient.php - run: bash <(curl -s https://codecov.io/bash) From fbec22f3bdc8c40592c84750e601c017a406da77 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Sat, 29 Apr 2023 22:55:30 +0200 Subject: [PATCH 2/2] fix --- .github/workflows/ci.yml | 1 - release.config.cjs | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98379734..43ad3285 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,5 +57,4 @@ jobs: - run: npm run document env: CI: true - - run: sed -i'' -r "s/const VERSION_STRING = '.*'/const VERSION_STRING = '2.1.0'/" ./src/Parse/ParseClient.php - run: bash <(curl -s https://codecov.io/bash) diff --git a/release.config.cjs b/release.config.cjs index ffc80ebd..18892134 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -79,7 +79,8 @@ async function config() { 'changelogFile': changelogFile, }], ["@semantic-release/exec", { - "prepareCmd": `sed -i '' -r "s/const VERSION_STRING = '.*'/const VERSION_STRING = '\${nextRelease.version}'/" ./src/Parse/ParseClient.php` + // Update Parse SDK version + "prepareCmd": `sed -i'' -r "s/const VERSION_STRING = '.*'/const VERSION_STRING = '\${nextRelease.version}'/" ./src/Parse/ParseClient.php` }], ['@semantic-release/npm', { 'npmPublish': false,