File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,16 +72,16 @@ jobs:
7272 - name : Extract TS SDK version from index.html
7373 id : extract_ts_sdk_version
7474 run : |
75- version=$(grep -oP '"x-sdk-version":"ts-immutable-sdk-\K[0-9]+\.[0-9]+\.[0-9]+' ./src/Packages/Passport/Runtime/Resources/index.html)
75+ version=$(grep -oP '"x-sdk-version":"ts-immutable-sdk-\K[0-9]+\.[0-9]+\.[0-9]+' ./src/Packages/Passport/Runtime/Resources/index.html | head -n 1 )
7676
7777 if [[ -z "$version" ]]; then
7878 echo "Error: Version not found in index.html" >&2
7979 exit 1
8080 fi
8181
8282 version=$(echo "$version" | tr -d '\r\n')
83-
84- echo "VERSION=$version" >> "$GITHUB_ENV"
83+
84+ echo "VERSION=${ version} " >> "$GITHUB_ENV"
8585
8686 - name : Create Release
8787 id : create_release
You can’t perform that action at this time.
0 commit comments