You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by pi...@apache.org on 2024/03/05 14:02:44 UTC

(manifoldcf) branch CONNECTORS-1754 updated: Update create-release-candidate.yml

This is an automated email from the ASF dual-hosted git repository.

piergiorgio pushed a commit to branch CONNECTORS-1754
in repository https://gitbox.apache.org/repos/asf/manifoldcf.git


The following commit(s) were added to refs/heads/CONNECTORS-1754 by this push:
     new 2020cd5bf Update create-release-candidate.yml
2020cd5bf is described below

commit 2020cd5bfdd566257220fbffdb0fdb40629e1ae9
Author: Piergiorgio Lucidi <pi...@apache.org>
AuthorDate: Tue Mar 5 15:02:38 2024 +0100

    Update create-release-candidate.yml
---
 .github/workflows/create-release-candidate.yml | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/create-release-candidate.yml b/.github/workflows/create-release-candidate.yml
index 4158d1472..6e8356114 100644
--- a/.github/workflows/create-release-candidate.yml
+++ b/.github/workflows/create-release-candidate.yml
@@ -17,10 +17,8 @@
 
 name: Create Release Candidate
 run-name: ${{ github.actor }} is executing Create Release Branch
-
 permissions:
   contents: write
-
 on:
   workflow_dispatch:
     inputs:
@@ -34,8 +32,7 @@ jobs:
     runs-on: ubuntu-22.04
     steps:
       - name: Init Release Candidate workflow
-        run: echo "Starting Apache ManifoldCF workflow for building ${{ github.event.input.releasecandidatetag }}"
-        
+        run: echo "Starting Apache ManifoldCF workflow for building ${{ github.events.input.releasecandidatetag }}"
       - uses: actions/checkout@v4.1.1
       - name: Set up OpenJDK 11 Temurin x64
         uses: actions/setup-java@v4.0.0
@@ -57,7 +54,7 @@ jobs:
           git config user.email ${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com
       
       - name: Create new release candidate branch
-        run: git branch ${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.input.releasecandidatetag }}
+        run: git branch ${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }}
       
       - name: Update all the Maven modules with the new version
         run: mvn versions:set -DnewVersion=${{ steps.mavenProjectVersion.outputs.version }} -DremoveSnapshot -DgenerateBackupPoms=false
@@ -87,35 +84,36 @@ jobs:
         run: |
           find . -name 'pom.xml' -exec git add {} \;
           git add CHANGES.txt build.xml
-          git commit -am "${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.input.releasecandidatetag }} created"
+          git commit -am "${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }} created"
           git push
             
       - name: Upload artifacts - Binary - zip format
         uses: actions/upload-artifact@v4.3.1
         with:
-          name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.input.releasecandidatetag }}-bin.zip
+          name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }}-bin.zip
           path: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-bin.zip
       
       - name: Upload artifacts - Lib - tar.gz format
         uses: actions/upload-artifact@v4.3.1
         with:
-          name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.input.releasecandidatetag }}-lib.tar.gz
+          name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }}-lib.tar.gz
           path: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-lib.tar.gz
       
       - name: Upload artifacts - Lib - zip format
         uses: actions/upload-artifact@v4.3.1
         with:
-          name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.input.releasecandidatetag }}-lib.zip
+          name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }}-lib.zip
           path: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-lib.zip
       
       - name: Upload artifacts - Source code - tar.gz format
         uses: actions/upload-artifact@v4.3.1
         with:
-          name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.input.releasecandidatetag }}-src.tar.gz
+          name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }}-src.tar.gz
           path: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-src-tar.gz
       
       - name: Upload artifacts - Source code - zip format
         uses: actions/upload-artifact@v4.3.1
         with:
-          name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.event.input.releasecandidatetag }}-src.zip
+          name: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-${{ github.events.input.releasecandidatetag }}-src.zip
           path: apache-manifoldcf-${{ steps.mavenProjectVersion.outputs.version }}-src-zip
+