[
https://issues.jboss.org/browse/JBTM-2481?page=com.atlassian.jira.plugin....
]
Tom Jenkinson commented on JBTM-2481:
-------------------------------------
I updated NRP today with todays release.
I think we could merge this lot into one command:
{code}
export PREVIOUS=
export CURRENT=
export NEXT=<next version, e.g: 5.0.0.Final>
export WFLYISSUE=
(cd scripts; ./pre-release.sh $CURRENT $NEXT)
git fetch upstream; git checkout $CURRENT; MAVEN_OPTS="-XX:MaxPermSize=512m" ant
-f build-release-pkgs.xml -Dmvn.executable="tools/maven/bin/mvn[.bat]"
-Dawestruct.executable="awestruct[.bat]" all
# if the rsync of the site hangs, ctrl-c the hang and: rsync -Pr --protocol=28
--delete-after _site/* jbosstm@filemgmt.jboss.org:www_htdocs/jbosstm/
(cd jboss-as; git fetch jbosstm; git checkout 5_BRANCH; git reset --hard jbosstm/5_BRANCH;
sed -i "s/narayana>$CURRENT/narayana>$NEXT/g" pom.xml; git add pom.xml;
git commit --amend -m "Update to latest version of Narayana"; git push -f)
(cd jboss-as; git fetch wildfly; git checkout -b ${WFLYISSUE} wildfly/master; git branch
-u jbosstm/${WFLYISSUE}; sed -i "s/narayana>$PREVIOUS/narayana>$CURRENT/g"
pom.xml; git commit -am "${WFLYISSUE} Upgrade Narayana to $CURRENT"; git push)
{code}
It's probably something to do with my machine but you will note that the narayana.io
upload sometimes hangs for me.
Automate NRP
------------
Key: JBTM-2481
URL:
https://issues.jboss.org/browse/JBTM-2481
Project: JBoss Transaction Manager
Issue Type: Task
Components: Release Process
Reporter: Tom Jenkinson
Assignee: Gytis Trikleris
Priority: Minor
Fix For: 5.next
There are a number of steps on NRP that could be automated using Jira API.
Lets try to do that:
https://community.jboss.org/wiki/NarayanaReleaseProcess
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)