Skip to content

Commit

Permalink
fix: release deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Sankeerth <sanpj2292@github.com>
  • Loading branch information
Sai Sankeerth committed Mar 18, 2024
1 parent 7c1e35f commit bc64090
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
release_version: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
steps:
- name: Extract Branch Name
shell: bash
Expand Down Expand Up @@ -41,7 +42,7 @@ jobs:
post-release-to-prod:
name: Post release actions
runs-on: ubuntu-latest
needs: [release-please, release-to-prod]
needs: [release-please, production-release]
if: ${{ needs.release-please.outputs.release_created }}
steps:
- name: Delete Release Branch
Expand All @@ -64,7 +65,7 @@ jobs:
channel-id: ${{ secrets.SLACK_RELEASE_CHANNEL_ID }}
payload: |
{
"text": "*<${{env.RELEASES_URL}}v${{ steps.extract-version.outputs.release_version }}|v${{ steps.extract-version.outputs.release_version }}>*\nCC: <@U03KG4BK1L1> <@U01LVJ30QEB> <@U01FG952S8Y>",
"text": "*<${{env.RELEASES_URL}}v${{ needs.release-please.outputs.release_version }}>*\nCC: <@U03KG4BK1L1> <@U01LVJ30QEB> <@U01FG952S8Y>",
"blocks": [
{
"type": "header",
Expand Down

0 comments on commit bc64090

Please sign in to comment.