File tree Expand file tree Collapse file tree 1 file changed +4
-17
lines changed
Expand file tree Collapse file tree 1 file changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -11,30 +11,17 @@ jobs:
1111 steps :
1212 - uses : actions/checkout@v4
1313 with :
14- fetch-depth : 0
15-
16- - name : Find Latest Release Branch
17- id : find-branch
18- run : |
19- latest_version=$(git branch -r | grep 'origin/RELEASE_' | sed 's|origin/||' | grep -oP 'RELEASE_\K\d+_\d+' | sort -Vr | head -n1)
20- latest_branch=$(echo "RELEASE_${latest_version}" | sed 's/\./_/g')
21- echo "Detected latest release branch: $latest_branch"
22- echo "branch=$latest_branch" >> $GITHUB_OUTPUT
23-
24- - uses : actions/checkout@v4
25- with :
26- ref : ${{ steps.find-branch.outputs.branch }}
14+ ref : devel
2715 token : ${{ secrets.PAT }}
16+ fetch-depth : 0
2817
2918 - name : Run patch bump script and push
3019 run : |
31- git checkout ${{ steps.find-branch.outputs.branch }}
32-
3320 sed -r -i 's/(^ARG BIOCONDUCTOR_PATCH=)([0-9]+)$/echo "\1$((\2+1))"/ge' Dockerfile
3421
3522 git config user.name github-actions
3623 git config user.email [email protected] 3724 git add Dockerfile
3825
39- git commit -m "Weekly auto-bump Dockerfile patch version for latest release " || exit 0
40- git push origin ${{ steps.find-branch.outputs.branch }}
26+ git commit -m "Weekly auto-bump Dockerfile patch version for devel " || exit 0
27+ git push origin devel
You can’t perform that action at this time.
0 commit comments