Skip to content

Commit c8d9b70

Browse files
Update release script to add cleanup step (FreeRTOS#1038)
* Add cleanup step in release script * update comment --------- Co-authored-by: Monika Singh <[email protected]>
1 parent 7c129b6 commit c8d9b70

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,15 @@ jobs:
138138
asset_path: ./FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}.zip
139139
asset_name: FreeRTOS-Plus-TCP-${{ github.event.inputs.version_number }}.zip
140140
asset_content_type: application/zip
141+
cleanup:
142+
needs:
143+
- create-release
144+
name: Cleanup
145+
runs-on: ubuntu-latest
146+
steps:
147+
- name: Checkout code
148+
uses: actions/checkout@v3
149+
- name: Delete branch created for Tag by SBOM generator
150+
run: |
151+
# Delete the branch created for Tag by SBOM generator
152+
git push -u origin --delete refs/heads/${{ github.event.inputs.version_number }}

0 commit comments

Comments
 (0)