Browse Source

Delete old release and retag latest commit

This ensures the latest commit message and timestamp can be correctly
included in the release.
Ekang Monyet 1 year ago
parent
commit
3c66525ef2
1 changed files with 8 additions and 0 deletions
  1. 8 0
      .github/workflows/build-deploy-assets.yaml

+ 8 - 0
.github/workflows/build-deploy-assets.yaml

@@ -18,6 +18,14 @@ jobs:
           make all
           make html
           tar zcvf lkmpg-html.tar.gz ./html
+      - name: Delete old release
+        uses: cb80/delrel@latest
+        with:
+          tag: latest
+      - name: Tag
+        run: |
+          git tag latest
+          git push -f --tags
       - name: Release
         uses: softprops/action-gh-release@v0.1.15
         with: