Skip to content

Commit

Permalink
ED-11261
Browse files Browse the repository at this point in the history
  • Loading branch information
davseve committed Jul 11, 2023
1 parent c674c7a commit fc7f993
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/bi-weekly-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand All @@ -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)
Expand Down

0 comments on commit fc7f993

Please sign in to comment.