Ver Fonte

Delete old release and retag latest commit

This ensures the latest commit message and timestamp can be correctly
included in the release.
Ekang Monyet há 1 ano atrás
pai
commit
3c66525ef2
1 ficheiros alterados com 8 adições e 0 exclusões
  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: