From fc7f9938da352b48bb7d6395866eb187315122be Mon Sep 17 00:00:00 2001 From: David Seveloff Date: Tue, 11 Jul 2023 18:38:43 +0300 Subject: [PATCH] ED-11261 --- .github/workflows/bi-weekly-release/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bi-weekly-release/action.yml b/.github/workflows/bi-weekly-release/action.yml index 7cf27eca8e2..71e86537a4c 100644 --- a/.github/workflows/bi-weekly-release/action.yml +++ b/.github/workflows/bi-weekly-release/action.yml @@ -4,7 +4,7 @@ inputs: CHANNEL: required: true description: "The channel to get the version to (cloud, CCU)." - LAST_RELEASE_DATE: + LAST_AUTOMATED_RELEASE: required: false description: "The date of the last release." @@ -13,6 +13,8 @@ runs: steps: - shell: bash run: | + echo ${{ inputs.LAST_AUTOMATED_RELEASE }} + bash ${{ inputs.LAST_AUTOMATED_RELEASE }} last_release=$(git ls-remote --tags | grep -v "\-rc” | grep -v "refs/tags/v” | grep "cloud” | tail -n1 | awk ‘{print $2}’) current_date=$(date +%s) release_date=$(git log -1 --format=%ct $last_release)