From a3796379d50c88d90dd05bc832d6e106e78946df Mon Sep 17 00:00:00 2001 From: Fedir Kryvyi Date: Tue, 15 Oct 2024 18:16:41 +0200 Subject: [PATCH] Updating pkg version to fix automated build and updating Release Notes file --- .github/workflows/pullrequest_release.yml | 2 +- docs/RELEASE_NOTES.md | 5 +++++ sfdx-project.json | 7 ++++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pullrequest_release.yml b/.github/workflows/pullrequest_release.yml index 4611aff..0a345c1 100644 --- a/.github/workflows/pullrequest_release.yml +++ b/.github/workflows/pullrequest_release.yml @@ -43,7 +43,7 @@ jobs: # Creating a new Package version - name: Creating a new Package version run: | - JSON=$(sf package version create --target-dev-hub DevHub --package ${{ vars.SF_PKG_ID }} --installation-key ${{ secrets.SF_PKG_INSTALL_KEY }} --code-coverage --json --releasenotes-url ${{ vars.SF_RELEASE_NOTES_URL }} --json --wait 20); + JSON=$(sf package version create --target-dev-hub DevHub --package ${{ vars.SF_PKG_ID }} --installation-key ${{ secrets.SF_PKG_INSTALL_KEY }} --releasenotes-url ${{ vars.SF_RELEASE_NOTES_URL }} --json --code-coverage --wait 20); STATUS=$(echo $JSON | jq '.result.Status'); ID=$(echo $JSON | jq -r '.result.Id'); diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index ab67684..595872d 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -1,5 +1,10 @@ # ScoreHub Release Notes +## version 2.0.0.WIP +### version 2.0.0.1 +- Optimizing SOQL queries +- Refactoring Unit tests to migrate from System.Assert to Assert class + ## version 1.0.0.1 First release version of ScoreHub app Main functionality included in the release: diff --git a/sfdx-project.json b/sfdx-project.json index 8b96e9f..2d450d7 100644 --- a/sfdx-project.json +++ b/sfdx-project.json @@ -4,9 +4,10 @@ "path": "force-app", "default": true, "package": "ScoreHub", - "versionName": " ScoreHub v1.0", - "versionNumber": "1.0.0.NEXT", - "versionDescription": "ScoreHub version 1.0", + "versionName": " ScoreHub v2.0", + "versionNumber": "2.0.0.NEXT", + "ancestorVersion": "HIGHEST", + "versionDescription": "ScoreHub version 2.0", "postInstallScript": "ScoreHubConfig" } ],