kitgit

tirbofish/dropbear · diff

0f11ba0 · tk

added magna-carta plugin support for template.

Unverified

diff --git a/.github/workflows/release-magna-carta.yaml b/.github/workflows/release-magna-carta.yaml
index 3ef132a..7f9326e 100644
--- a/.github/workflows/release-magna-carta.yaml
+++ b/.github/workflows/release-magna-carta.yaml
@@ -2,34 +2,14 @@ name: Release Magna Carta
 
 on:
   push:
-    branches:
-      - main
+    tags:
+      - 'magna-carta-v*'
 
 permissions:
   contents: write
 
 jobs:
-  check-and-release:
-    runs-on: ubuntu-latest
-    outputs:
-      should_release: ${{ steps.check-commit.outputs.should_release }}
-    steps:
-      - name: Checkout code
-        uses: actions/checkout@v4
-
-      - name: Check commit message
-        id: check-commit
-        run: |
-          COMMIT_MSG=$(git log -1 --pretty=%B)
-          if [[ "$COMMIT_MSG" == *"jarvis, create a new release for magna-carta"* ]]; then
-            echo "should_release=true" >> $GITHUB_OUTPUT
-          else
-            echo "should_release=false" >> $GITHUB_OUTPUT
-          fi
-
   build-and-release:
-    needs: check-and-release
-    if: needs.check-and-release.outputs.should_release == 'true'
     strategy:
       fail-fast: false
       matrix:
@@ -74,17 +54,9 @@ jobs:
       - name: Rename and prepare artifact
         shell: bash
         run: |
-          # Source binary path
           SRC="target/${{ matrix.target }}/release/${{ matrix.binary_name }}"
           DST="${{ matrix.artifact_name }}"
-          
-          # Copy to root for easy upload

Large diffs are not rendered by default. Showing the first 50 of 771 lines. Show full diff