Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ED-11261 #75

Merged
merged 1 commit into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 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,7 @@ runs:
steps:
- shell: bash
run: |
echo "LAST_AUTOMATED_RELEASE=${{ inputs.LAST_AUTOMATED_RELEASE }}" >> $GITHUB_ENV
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
12 changes: 6 additions & 6 deletions .github/workflows/daily-hosting-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
with:
CHANNEL: ${{ env.CHANNEL }}
REF: ${{ github.ref }}
# - name: Check if two weeks have passed since last release
# uses: ./.github/workflows/bi-weekly-release
# with:
# CHANNEL: ${{ env.CHANNEL }}
# LAST_RELEASE_DATE: ${{ env.LAST_RELEASE_DATE }}
- name: Check if two weeks have passed since last release
uses: ./.github/workflows/bi-weekly-release
with:
CHANNEL: ${{ env.CHANNEL }}
LAST_AUTOMATED_RELEASE: ${{ env.LAST_AUTOMATED_RELEASE }}
- name: Bump Channel Version
uses: ./.github/workflows/bump-channel-version
with:
Expand All @@ -55,7 +55,7 @@ jobs:
run: |
npm ci
- name: Install Octokit
# if: ${{ env.CHANNEL == 'cloud' && }}
if: ${{ env.CHANNEL }} == 'cloud' && ${{ github.EVENT_NAME }} == 'schedule'
run: npm install octokit@2.0.19
- name: Set Oktokit env variables
run: |
Expand Down
Loading