Skip to content

Commit

Permalink
Update release script to add cleanup step (#1038)
Browse files Browse the repository at this point in the history
* Add cleanup step in release script

* update comment

---------

Co-authored-by: Monika Singh <[email protected]>
  • Loading branch information
tony-josi-aws and moninom1 authored Nov 3, 2023
1 parent 7c129b6 commit c8d9b70
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,15 @@ jobs:
asset_path: ./FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}.zip
asset_name: FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}.zip
asset_content_type: application/zip
cleanup:
needs:
- create-release
name: Cleanup
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Delete branch created for Tag by SBOM generator
run: |
# Delete the branch created for Tag by SBOM generator
git push -u origin --delete refs/heads/${{ github.event.inputs.version_number }}

0 comments on commit c8d9b70

Please sign in to comment.