From 9c83c9c6abd172cb72a7de92f0f9b105e87ea109 Mon Sep 17 00:00:00 2001 From: Luca LeBlanc <67206487+yodaluca23@users.noreply.github.com> Date: Fri, 21 Jun 2024 13:00:42 -0500 Subject: [PATCH] Update Build and Release.yml --- .github/workflows/Build and Release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Build and Release.yml b/.github/workflows/Build and Release.yml index 8f87d06..f605f27 100644 --- a/.github/workflows/Build and Release.yml +++ b/.github/workflows/Build and Release.yml @@ -109,7 +109,7 @@ jobs: curl -L "$protobuf_asset" -o "Build Components/SwiftProtobuf-arm" echo "swiftprotobuf=Build Components/SwiftProtobuf-arm" >> $GITHUB_ENV filename=$(basename "${protobuf_asset}") - protobuf_version=$(echo "${filename}" | grep -oP '(?<=org.swift.protobuf.swiftprotobuf_)[^_]+(?=_iphoneos-arm.deb)') + protobuf_version=$(echo "${filename}" | sed -n 's/org.swift.protobuf.swiftprotobuf_\([^-]*\)_iphoneos-arm.deb/\1/p') echo "SWIFTPROTOBUFVERSION=${protobuf_version}" >> $GITHUB_ENV env: REALEEVEEVERSION: ${{ env.REALEEVEEVERSION }}