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 666993980 fix for the release candidate GitHub workflow
(CONNECTORS-1754)
666993980 is described below
commit 666993980ef91aaf7fc370d34d94750c39d927d3
Author: Piergiorgio Lucidi <[email protected]>
AuthorDate: Tue Mar 26 11:13:53 2024 +0100
fix for the release candidate GitHub workflow (CONNECTORS-1754)
---
.github/workflows/create-release-candidate.yml | 10 +++++++++-
pom.xml | 1 +
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/create-release-candidate.yml
b/.github/workflows/create-release-candidate.yml
index c02653855..d528ad7aa 100644
--- a/.github/workflows/create-release-candidate.yml
+++ b/.github/workflows/create-release-candidate.yml
@@ -54,8 +54,16 @@ jobs:
git config user.name "$(gh api /users/${GITHUB_ACTOR} | jq .name -r)"
git config user.email
${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com
+ - name: Create Branch Version
+ id: branchVersion
+ run: |
+ currentMavenVersion="${{ steps.mavenProjectVersion.outputs.version
}}"
+ suffixToRemove="SNAPSHOT"
+ branchVersion=${currentMavenVersion%"$suffixToRemove"}
+ echo "${branchVersion}" >> $GITHUB_OUTPUT
+
- name: Create new release candidate branch
- run: git branch ${{ steps.mavenProjectVersion.outputs.version }}-${{
github.events.input.releasecandidatetag }}
+ run: git branch ${{ steps.branchVersion.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
diff --git a/pom.xml b/pom.xml
index 6ac62bebe..65c1b2742 100644
--- a/pom.xml
+++ b/pom.xml
@@ -215,6 +215,7 @@
<exclude>site/src/documentation/skins/lucene/note.txt</exclude>
<exclude>site/src/documentation/skins/common/xslt/html/split.xsl</exclude>
<exclude>dist-license/DEPENDENCIES.txt</exclude>
+ <exclude>site/tmp/font/*</exclude>
</excludes>
</configuration>
</plugin>