assignUser commented on code in PR #13149:
URL: https://github.com/apache/arrow/pull/13149#discussion_r878593621


##########
dev/tasks/macros.jinja:
##########
@@ -221,3 +222,35 @@ on:
         cp ${formula} $(brew --repository homebrew/core)/Formula/
       done
 {% endmacro %}
+
+{%- macro change_r_pkg_version(date = '$(date +%Y%m%d)') -%}
+  - name: Modify version
+    shell: bash
+    run: |
+      cd arrow/r
+      sed -i.bak -E -e \
+        's/(^Version: [0-9]+\.[0-9]+\.[0-9]+).*$/\1.'"{{ date }}"'/' \
+        DESCRIPTION
+      head DESCRIPTION
+      rm -f DESCRIPTION.bak

Review Comment:
   The possibility to provide a custom version is now also available in this 
workflow via a param so:
   `@gha crossbow submit --param custom_version=8.5.3 r-nightly-packages`. 
(Only possible from a branch within apache/arrow, see my[ 
comment](https://github.com/apache/arrow/pull/13149#discussion_r878595551)) And 
you can suppress the upload of either libarrow or the R package to the repo 
(the artifacts will be uploaded to the run in either case).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to