Skip to content

Commit e3dfb53

Browse files
committed
Remove jgitflow plugin from POM file
Use this script instead ```bash GIT_USER_NAME=$(git config user.name) GIT_USER_EMAIL=$(git config user.email) git config user.name "iText Software (Community)" git config user.email [email protected] git checkout -b release/$RELEASE $COMMIT find . -name pom.xml -o -name Version.java | \ xargs sed -i 's/'$RELEASE'-SNAPSHOT/'$RELEASE'/' find . -name pom.xml -o -name Version.java | \ xargs git add git commit \ -m "[RELEASE] $RELEASE-SNAPSHOT -> $RELEASE" git checkout develop find . -name pom.xml -o -name Version.java | \ xargs sed -i 's/'$RELEASE'-SNAPSHOT/'$DEVELOP'/' find . -name pom.xml -o -name Version.java | \ xargs git add git commit \ -m "[RELEASE] $RELEASE-SNAPSHOT -> $DEVELOP" git checkout master git merge release/$RELEASE \ --no-ff \ --log=$(git log --oneline master..release/$RELEASE | wc -l) \ --stat \ --signoff \ -m "[RELEASE] iText 7 - $RELEASE" \ -m "https://github.com/itext/itext7/releases/tag/$RELEASE" MESSAGE_FILE=$(mktemp) git log -1 --pretty=%B > $MESSAGE_FILE git tag $RELEASE \ -u D9EDD41A1AB17E4A2FE369D8035FD9539EE015A2 \ -F $MESSAGE_FILE rm -f $MESSAGE_FILE git checkout develop git merge %RELEASE \ --no-ff \ --strategy=recursive -X ours git branch -D release/"$RELEASE" ``` Full script: https://git.itextsupport.com/projects/QA/repos/release/browse/itext7/release.sh
1 parent b615cb1 commit e3dfb53

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

pom.xml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -645,25 +645,6 @@
645645
<id>release</id>
646646
<build>
647647
<plugins>
648-
<plugin>
649-
<groupId>external.atlassian.jgitflow</groupId>
650-
<artifactId>jgitflow-maven-plugin</artifactId>
651-
<version>1.0-m5.1</version>
652-
<configuration>
653-
<!-- see goals wiki page for configuration options -->
654-
<flowInitContext>
655-
<masterBranchName>master</masterBranchName>
656-
<developBranchName>develop</developBranchName>
657-
<featureBranchPrefix>feature/</featureBranchPrefix>
658-
<releaseBranchPrefix>release/</releaseBranchPrefix>
659-
<hotfixBranchPrefix>hotfix/</hotfixBranchPrefix>
660-
<versionTagPrefix />
661-
</flowInitContext>
662-
<allowUntracked>true</allowUntracked>
663-
<autoVersionSubmodules>true</autoVersionSubmodules>
664-
<updateDependencies>true</updateDependencies>
665-
</configuration>
666-
</plugin>
667648
<plugin>
668649
<groupId>org.apache.maven.plugins</groupId>
669650
<artifactId>maven-javadoc-plugin</artifactId>

0 commit comments

Comments
 (0)