Skip to content

Commit

Permalink
Fix for release workflow (#30750)
Browse files Browse the repository at this point in the history
  • Loading branch information
victoralfaro-dotcms authored Nov 22, 2024
1 parent eaa0f2e commit 494076c
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/legacy-release_maven-release-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -377,16 +377,22 @@ jobs:
else
echo "SBOM artifact not found."
fi
echo "::endgroup::"
echo "::endgroup::"
release-labeling:
name: Release Labeling
if: success() && github.event.inputs.update_github_labels == 'true'
uses: ./.github/workflows/issue_comp_release-labeling.yml
with:
new_label: 'Release ${{ github.event.inputs.release_version }}'
secrets:
CI_MACHINE_TOKEN: ${{ secrets.CI_MACHINE_TOKEN }}

finish-release:
name: Finish Release
runs-on: ubuntu-latest
needs: [prepare-release, release-process, build-push-image]
if: success()
env:
NEXT_VERSION: '1.0.0-SNAPSHOT'
FETCH_VALUE: 'Next Release'
steps:
- name: Checkout core
uses: actions/checkout@v4
Expand All @@ -395,14 +401,6 @@ jobs:

- uses: ./.github/actions/core-cicd/cleanup-runner

- name: Release Labeling
if: success() && github.event.inputs.update_github_labels == 'true'
uses: ./.github/workflows/issue_comp_release-labeling.yml
with:
new_label: 'Release ${{ github.event.inputs.release_version }}'
secrets:
CI_MACHINE_TOKEN: ${{ secrets.CI_MACHINE_TOKEN }}

- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
env:
Expand Down

0 comments on commit 494076c

Please sign in to comment.