[jbossts-issues] [JBoss JIRA] (JBTM-1533) Create a pre-release script

Paul Robinson (JIRA) jira-events at lists.jboss.org
Tue Mar 12 07:36:42 EDT 2013

Paul Robinson created JBTM-1533:

             Summary: Create a pre-release script
                 Key: JBTM-1533
                 URL: https://issues.jboss.org/browse/JBTM-1533
             Project: JBoss Transaction Manager
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Build System
            Reporter: Paul Robinson
            Assignee: Paul Robinson
             Fix For: 4.17.4, 5.0.0.M2

To encompass these steps of the Narayana release process:

CURRENT=<Version number of the release (e.g. 5.0.0.M2)>
NEXT=<Version number of the next release (e.g. 5.0.0.M3)>
for  REPO in documentation quickstart narayana
git clone git at github.com:jbosstm/$REPO.git
cd $REPO
git checkout $BRANCH
find . -name \*.java -o -name \*.xml -o -name \*.properties -o -name \*.ent -o -name \INSTALL -o -name \README | grep -v ".svn" | grep -v ".git" | grep -v target | grep -v .idea | xargs sed -i "s/$CURRENT-SNAPSHOT/$CURRENT/g"
git commit -am "Updated to $CURRENT"
git tag $CURRENT
find . -name \*.java -o -name \*.xml -o -name \*.properties -o -name \*.ent -o -name \INSTALL -o -name \README | grep -v ".svn" | grep -v ".git" | grep -v target | grep -v .idea | xargs sed -i "s/$CURRENT/$NEXT-SNAPSHOT/g"
git commit -am "Updated to $NEXT-SNAPSHOT"
git push origin $BRANCH --tags
cd ..

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the jbossts-issues mailing list