Skip to content

Commit

Permalink
Only create auto-bump PR if versions differ before suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud committed Dec 17, 2024
1 parent 9abf028 commit 0a8c2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/daily-rocker-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
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
RELEASE_R_VER=$(curl https://bioconductor.org/config.yaml | yq e '.r_ver_for_bioc_ver."${{steps.defs.outputs.releasebiocver}}"')
LATEST_TAG=$(cat /tmp/taglist | grep "$RELEASE_R_VER" | sort -n | tail -n 1)
CURR_TAG=$(cat /tmp/currtag | sort -n | tail -n 1)
CURR_TAG=$(cat /tmp/currtag | sort -n | tail -n 1 | cut -d'-' -f1)
echo latest-tag=$LATEST_TAG >> $GITHUB_OUTPUT
if [ "$LATEST_TAG" == "$CURR_TAG" ]; then
echo "Detected '$LATEST_TAG' == '$CURR_TAG' as latest available tag"
Expand Down

0 comments on commit 0a8c2bb

Please sign in to comment.