This commit is contained in:
Naman Malhotra 2024-09-05 18:20:28 +05:30
parent dcbc4dc588
commit 1b3c402dcb
2 changed files with 12 additions and 8 deletions

View File

@ -23,6 +23,18 @@ jobs:
with:
pull-package-deps: '@woocommerce/plugin-woocommerce'
- name: 'Get the versions for the accelerated and monthly releases'
id: get-versions
run: pnpm utils code-freeze get-version -o $TIME_OVERRIDE
- name: Generate changelog changes
id: changelog
if: steps.get-versions.outputs.isTodayMonthlyFreeze == 'yes'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm utils code-freeze changelog -o ${{ github.repository_owner }} -v ${{ steps.get-versions.outputs.monthlyVersionXY }}
- name: Build zip
working-directory: plugins/woocommerce
run: bash bin/build-zip.sh

View File

@ -116,14 +116,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm utils code-freeze version-bump ${{ steps.get-versions.outputs.monthlyMilestone }}-dev -o ${{ github.repository_owner }}
- name: Generate changelog changes
id: changelog
if: steps.get-versions.outputs.isTodayMonthlyFreeze == 'yes'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm utils code-freeze changelog -c -o ${{ github.repository_owner }} -v ${{ steps.get-versions.outputs.monthlyVersionXY }}
notify-slack:
name: 'Sends code freeze notification to Slack'
runs-on: ubuntu-20.04