diff --git a/.github/workflows/repack-and-release.yml b/.github/workflows/repack-and-release.yml index 69970f3..78c24d0 100644 --- a/.github/workflows/repack-and-release.yml +++ b/.github/workflows/repack-and-release.yml @@ -16,16 +16,15 @@ on: jobs: clean_release: + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - - name: delete previous tag/release - if: github.ref == 'refs/heads/main' - uses: dev-drprasad/delete-tag-and-release@v0.2.0 + - name: rebuild release body + uses: marvinpinto/action-automatic-releases@latest with: - delete_release: true - tag_name: "latest" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "Latest" + title: "Latest development build" build: needs: [clean_release]