Skip to content

armgit / gecko

Public Imported from GitHub
0

A GameCube/Wii emulator and debugger written in Rust.

fix release tags

Layled3aeefdbd62a
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a45c96e..818809c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -120,10 +120,17 @@ jobs:
path: artifacts
merge-multiple: true
+ - name: Delete previous release and tag
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ gh release delete release --cleanup-tag --yes --repo ${{ github.repository }} || true
+
- name: Create release
uses: softprops/action-gh-release@v2
with:
- tag_name: build-${{ github.sha }}
- name: Build ${{ github.sha }}
+ tag_name: release
+ target_commitish: ${{ github.sha }}
+ name: Release (master)
generate_release_notes: true
files: artifacts/*