From c5e936ff437b3943cfb89f31efed53b913600a8e Mon Sep 17 00:00:00 2001 From: Finn Carroll Date: Mon, 4 Nov 2024 14:29:42 -0800 Subject: [PATCH] Fix ci version parsing script Signed-off-by: Finn Carroll --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e49961ce..173bd908 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -90,9 +90,9 @@ jobs: - name: Pull and Run Docker for security tests run: | plugin=${{ needs.linux-build.outputs.build-test-linux }} - version=`echo $plugin|awk -F- '{print $3}'| cut -d. -f 1-3` - plugin_version=`echo $plugin|awk -F- '{print $3}'| cut -d. -f 1-4` - qualifier=`echo $plugin|awk -F- '{print $4}'| cut -d. -f 1-1` + version=`echo $plugin|awk -F- '{print $4}'| cut -d. -f 1-3` + plugin_version=`echo $plugin|awk -F- '{print $4}'| cut -d. -f 1-4` + qualifier=`echo $plugin|awk -F- '{print $5}'| cut -d. -f 1-1` if [ -n "$qualifier" ] && [ "$qualifier" != "SNAPSHOT" ]; then qualifier=-${qualifier}