Explorar o código

pre-alpha -> alpha

Tig hai 3 meses
pai
achega
104305b428
Modificáronse 2 ficheiros con 11 adicións e 12 borrados
  1. 9 10
      .github/workflows/api-docs.yml
  2. 2 2
      GitVersion.yml

+ 9 - 10
.github/workflows/api-docs.yml

@@ -17,7 +17,6 @@ jobs:
     runs-on: windows-latest
     steps:
     - name: Checkout
-      #if: github.ref_name == 'v1_release' ||  github.ref_name == 'v1_develop'
       uses: actions/checkout@v4
 
     - name: DocFX Build
@@ -41,17 +40,17 @@ jobs:
         path: docfx/_site
        
     - name: Deploy to GitHub Pages
-      if: github.ref_name == 'v1_release' ||  github.ref_name == 'v1_develop'
+      if: github.ref_name github.ref_name == 'v2_develop' || github.ref_name == 'v2_release'
       id: deployment
       uses: actions/deploy-pages@v4
       with:
         token: ${{ secrets.GITHUB_TOKEN }}
 
-    - name: v2_develop Repository Dispatch ${{ github.ref_name }}
-      if: github.ref_name == 'v2_develop'
-      uses: peter-evans/repository-dispatch@v3
-      with:
-        token: ${{ secrets.V2DOCS_TOKEN }}
-        repository: gui-cs/Terminal.GuiV2Docs
-        event-type: v2_develop_push
-        client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
+    # - name: v2_develop Repository Dispatch ${{ github.ref_name }}
+    #   if: github.ref_name == 'v2_develop'
+    #   uses: peter-evans/repository-dispatch@v3
+    #   with:
+    #     token: ${{ secrets.V2DOCS_TOKEN }}
+    #     repository: gui-cs/Terminal.GuiV2Docs
+    #     event-type: v2_develop_push
+    #     client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

+ 2 - 2
GitVersion.yml

@@ -33,8 +33,8 @@ branches:
   main:
     # Matches the v2_release branch
     regex: ^v2_release$
-    # Uses 'prealpha' as pre-release label before official release
-    label: prealpha
+    # Uses 'alpha' as pre-release label before `beta`
+    label: alpha
     # Increments patch version (x.y.z+1) on commits
     increment: Patch
     # Specifies v2_develop as the source branch