Skip to content

Commit

Permalink
Bump patch in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud committed Mar 24, 2023
1 parent 175756b commit 48dda1c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 66 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/full-rstudio-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,21 @@ jobs:
cd /tmp/contents
tar -xvf /tmp/image.tar
sudo ls tmp/* | xargs -i bash -c "echo 'cat {}' && cat {}"
- name: Push patch bump
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 50
shell: bash
command: |
set -x
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git config user.name github-actions
git config user.email [email protected]
git pull origin main || git reset --hard origin/main
sed -r -i 's/(^ARG BIOCONDUCTOR_PATCH=)([0-9]+)$/echo "\1$((\2+1))"/ge' Dockerfile
git add Dockerfile
git commit -m "Bump BIOCONDUCTOR_PATCH"
git push
66 changes: 0 additions & 66 deletions .scripts/weekly_build.sh

This file was deleted.

0 comments on commit 48dda1c

Please sign in to comment.