[JBoss JIRA] (JBTM-1533) Create a pre-release script
by Paul Robinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1533?page=com.atlassian.jira.plugin.... ]
Paul Robinson updated JBTM-1533:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> 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
> Priority: Minor
> Fix For: 4.17.4, 5.0.0.M3
>
>
> To encompass these steps of the Narayana release process:
> {code}
> BRANCH=<4.17|master>
> 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
> do
>
> git clone git@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 ..
>
> done
> {code}
--
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
12 years