[ 
https://issues.apache.org/jira/browse/LUCENE-5902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14116282#comment-14116282
 ] 

Ryan Ernst commented on LUCENE-5902:
------------------------------------

The output looks something like this:
{noformat}
Ryans-MacBook-Pro:lucene-solr-branch_4x rjernst$ py3 
../lucene-solr/dev-tools/scripts/bumpVersion.py 4.11.0

Adding new version 4.11.0
  adding new section to lucene/CHANGES.txt...done
  adding new section to solr/CHANGES.txt...done
  adding constant LUCENE_4_11_0...done

Updating latest version
  changing version.base...done
  changing Version.LATEST to LUCENE_4_11_0...done
  updating example solrconfig.xml files
    solr/example/example-DIH/solr/db/conf/solrconfig.xml...done
    solr/example/example-DIH/solr/mail/conf/solrconfig.xml...done
    solr/example/example-DIH/solr/rss/conf/solrconfig.xml...done
    solr/example/example-DIH/solr/solr/conf/solrconfig.xml...done
    solr/example/example-DIH/solr/tika/conf/solrconfig.xml...done
    solr/example/example-schemaless/solr/collection1/conf/solrconfig.xml...done
    solr/example/multicore/core0/conf/solrconfig.xml...done
    solr/example/multicore/core1/conf/solrconfig.xml...done
    solr/example/solr/collection1/conf/solrconfig.xml...done

Creating backwards compatibility tests
  creating index.410.cfs.zip...done
  creating index.410.nocfs.zip...done
  adding new indexes to backcompat tests...done

Testing changes
  checking lucene version tests...ok
  checking solr version tests...ok
  checking backcompat tests...ok
{noformat}

> Add bumpVersion script to increment version after release branch creation
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-5902
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5902
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Ryan Ernst
>         Attachments: LUCENE-5902.patch, LUCENE-5902.patch
>
>
> Thanks to LUCENE-5898 there are many less places to increment version.  
> However, I still think this script can be useful in automating the entire 
> process (minus the commit).  This would:
> * Add new sections to {{lucene/CHANGES.txt}} and {{solr/CHANGES.txt}}
> * Add new version constant
> * Change {{LATEST}} value
> * Change {{version.base}} in {{lucene/version.properties}}
> * Change version used in solr example configs
> * Create a BWC index and test if necessary



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to