Skip to content

Commit

Permalink
[CI]: changelog workaround and tag cleanup?
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps authored Oct 15, 2024
1 parent b249ae6 commit 09e5aca
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,17 @@ jobs:
path: |
release/*
- name: 'Build Changelog'
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
token: '${{ github.token }}'

- name: Delete tag
run: gh release delete "latest" --cleanup-tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create release
if: github.ref == 'refs/heads/main'
uses: softprops/action-gh-release@v2
Expand All @@ -104,8 +115,9 @@ jobs:
files: |
PS2BBL.7z
body: |
"![dl](https://img.shields.io/github/downloads/israpps/PlayStation2-Basic-BootLoader/latest/total?style=for-the-badge&logo=github) "
[![info](https://img.shields.io/badge/not%20sure%20what%20to%20download%3F-Click%20Here-000000?style=for-the-badge&logo=github)](https://israpps.github.io/PlayStation2-Basic-BootLoader/Downloads/)
![dl](https://img.shields.io/github/downloads/israpps/PlayStation2-Basic-BootLoader/latest/total?style=for-the-badge&logo=github)
[![info](https://img.shields.io/badge/not%20sure%20what%20to%20download%3F-Click%20Here-000000?style=for-the-badge&logo=github)](https://israpps.github.io/PlayStation2-Basic-BootLoader/Downloads/)
${{steps.build_changelog.outputs.changelog}}
- name: notify on discord
if: github.ref == 'refs/heads/main'
Expand Down Expand Up @@ -177,6 +189,17 @@ jobs:
path: |
release/PS2BBL_OpenTuna_Installer.ELF
- name: 'Build Changelog'
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
token: '${{ github.token }}'

- name: Delete tag
run: gh release delete "opentuna" --cleanup-tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create release
if: github.ref == 'refs/heads/main'
uses: softprops/action-gh-release@v2
Expand All @@ -189,4 +212,5 @@ jobs:
PS2BBL_OpenTuna_Installer.7z
body: |
![dl](https://img.shields.io/github/downloads/israpps/PlayStation2-Basic-BootLoader/latest/total?style=for-the-badge&logo=github)
[![info](https://img.shields.io/badge/not%20sure%20what%20to%20download%3F-Click%20Here-000000?style=for-the-badge&logo=github)](https://israpps.github.io/PlayStation2-Basic-BootLoader/Downloads/)
[![info](https://img.shields.io/badge/not%20sure%20what%20to%20download%3F-Click%20Here-000000?style=for-the-badge&logo=github)](https://israpps.github.io/PlayStation2-Basic-BootLoader/Downloads/)
${{steps.build_changelog.outputs.changelog}}

0 comments on commit 09e5aca

Please sign in to comment.