From 6b6bc18e1f06538a2b01eea252362416f899ad12 Mon Sep 17 00:00:00 2001 From: Maxwell Weru Date: Mon, 23 Sep 2024 08:37:12 +0200 Subject: [PATCH] Do not override major version numbers in task.json files --- .github/workflows/extension.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/extension.yml b/.github/workflows/extension.yml index 50ee1f33..325ca71d 100644 --- a/.github/workflows/extension.yml +++ b/.github/workflows/extension.yml @@ -81,12 +81,12 @@ jobs: MAJOR_MINOR_PATCH: ${{ steps.gitversion.outputs.majorMinorPatch }} BUILD_NUMBER: ${{ github.run_number }} - - name: Update version numbers in task.json + - name: Update minor and path versions in task.json run: | - echo "`jq '.version.Major=1' extension/tasks/dependabotV1/task.json`" > extension/tasks/dependabotV1/task.json + # Major versions are left out here because they are fixed in the task.json files. + # The minor and patch versions are updated to make sure we keep recent changes deployed. echo "`jq '.version.Minor=34' extension/tasks/dependabotV1/task.json`" > extension/tasks/dependabotV1/task.json echo "`jq '.version.Patch=${{ github.run_number }}' extension/tasks/dependabotV1/task.json`" > extension/tasks/dependabotV1/task.json - echo "`jq '.version.Major=${{ steps.gitversion.outputs.major }}' extension/tasks/dependabotV2/task.json`" > extension/tasks/dependabotV2/task.json echo "`jq '.version.Minor=${{ steps.gitversion.outputs.minor }}' extension/tasks/dependabotV2/task.json`" > extension/tasks/dependabotV2/task.json echo "`jq '.version.Patch=${{ github.run_number }}' extension/tasks/dependabotV2/task.json`" > extension/tasks/dependabotV2/task.json