@@ -17,15 +17,18 @@ jobs:
1717 - uses : r-lib/actions/setup-r@v2
1818 with :
1919 use-public-rspm : true
20-
21- - name : install runtime dependencies
22- run : Rscript -e "install.packages(c('renv', 'jsonlite'))"
23- - name : update PPM URL
24- run : Rscript inst/update-ppm-url.R
25- - name : update dependency graph among packages
26- run : Rscript inst/update-existing-hook-dependencies.R
27- - name : update existing packages
28- run : Rscript inst/update-dependency-graph-existing-packages.R
20+ # - name: install runtime dependencies
21+ # run: Rscript -e "install.packages(c('renv', 'jsonlite'))"
22+ # - name: update PPM URL
23+ # run: Rscript inst/update-ppm-url.R
24+ # - name: update dependency graph among packages
25+ # run: Rscript inst/update-existing-hook-dependencies.R
26+ # - name: update existing packages
27+ # run: Rscript inst/update-dependency-graph-existing-packages.R
28+ - name : install pre-commit
29+ run : pip3 install pre-commit
30+ - name : auto-release
31+ run : Rscript -e 'source("renv/activate.R"); renv::restore(); renv::install("."); precommit:::auto_release()'
2932 - name : Create Pull Request
3033 uses :
peter-evans/[email protected] 3134 with :
4043
4144 [1]: https://github.com/peter-evans/create-pull-request
4245
43-
46+ - name : Push latest tag
47+ run : >
48+ TAG="v$(Rscript -e 'cat(as.character(desc::desc_get_version()))')"
49+ git tag $TAG
50+ git push origin $TAG
0 commit comments