Skip to content

Commit 972ee4a

Browse files
committed
Change weekly bump to run on devel
1 parent ab40d60 commit 972ee4a

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

.github/workflows/weekly-release-bump.yaml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)