Skip to content

Commit 0a8c2bb

Browse files
committed
Only create auto-bump PR if versions differ before suffix
1 parent 9abf028 commit 0a8c2bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/daily-rocker-builds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
curl https://raw.githubusercontent.com/${{ github.repository }}/${{steps.defs.outputs.release-tag}}/.github/workflows/build_containers.yaml | grep 'amdtag' | awk -F"'" '/amdtag:/ {print $4}' | uniq > /tmp/currtag
3636
RELEASE_R_VER=$(curl https://bioconductor.org/config.yaml | yq e '.r_ver_for_bioc_ver."${{steps.defs.outputs.releasebiocver}}"')
3737
LATEST_TAG=$(cat /tmp/taglist | grep "$RELEASE_R_VER" | sort -n | tail -n 1)
38-
CURR_TAG=$(cat /tmp/currtag | sort -n | tail -n 1)
38+
CURR_TAG=$(cat /tmp/currtag | sort -n | tail -n 1 | cut -d'-' -f1)
3939
echo latest-tag=$LATEST_TAG >> $GITHUB_OUTPUT
4040
if [ "$LATEST_TAG" == "$CURR_TAG" ]; then
4141
echo "Detected '$LATEST_TAG' == '$CURR_TAG' as latest available tag"

0 commit comments

Comments
 (0)