diff --git a/.github/workflows/ddependabot.yml b/.github/workflows/ddependabot.yml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/.github/workflows/init.yaml b/.github/workflows/init.yaml index 94b2be1f69..7a2c499401 100644 --- a/.github/workflows/init.yaml +++ b/.github/workflows/init.yaml @@ -57,7 +57,7 @@ jobs: if: ( env.IS_VERSION_TAG == 'true' ) run: | # find the latest version that is not ourself - export LATEST_VERSION=$(git tag -l | grep -v '${{ github.ref_name }}' | sort -r --version-sort) + export LATEST_VERSION=$(git tag -l | grep -v '${{ github.ref_name }}' | sort -r --version-sort | head -n 1) # get major minor patch versions IFS='.' read -r latest_major latest_minor latest_patch << EOF $LATEST_VERSION