Commit e3dfb53
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 community@itextpdf.com
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.sh1 parent b615cb1 commit e3dfb53
1 file changed
+0
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | 648 | | |
668 | 649 | | |
669 | 650 | | |
| |||
0 commit comments