[ https://issues.apache.org/jira/browse/ARROW-15366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478731#comment-17478731 ]
Ian Cook commented on ARROW-15366: ---------------------------------- Here are code chunks from those two files that I think could be used as an example: In {{utils-prepare.sh}} you'll need to add lines like this: [https://github.com/apache/arrow/blob/master/dev/release/utils-prepare.sh#L60-L64] But that example _replaces_ a line in a file, whereas this will need to _add_ lines to {{{}versions.json{}}}. In {{01-prepare-test.rb}} you'll need to add lines to {{test_version_pre_tag}} and {{test_version_post_tag}} like this: [https://github.com/apache/arrow/blob/master/dev/release/01-prepare-test.rb#L158-L164] [https://github.com/apache/arrow/blob/master/dev/release/01-prepare-test.rb#L292-L297] > [Docs] Automate incrementing of package version for R and non-R version > switchers > --------------------------------------------------------------------------------- > > Key: ARROW-15366 > URL: https://issues.apache.org/jira/browse/ARROW-15366 > Project: Apache Arrow > Issue Type: Improvement > Components: Documentation > Reporter: Nicola Crane > Assignee: Nicola Crane > Priority: Major > > Automate the updating of the version numbers in > [r/pkgdown/assets/versions.json|https://github.com/apache/arrow/blob/master/r/pkgdown/assets/versions.json] > with > [dev/release/utils-prepare.sh|https://github.com/apache/arrow/blob/master/dev/release/utils-prepare.sh], > and add a test confirming the update at > [dev/release/01-prepare-test.rb|https://github.com/apache/arrow/blob/master/dev/release/01-prepare-test.rb]. -- This message was sent by Atlassian Jira (v8.20.1#820001)