We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f4e530 commit 17a1213Copy full SHA for 17a1213
.github/workflows/tag.yml
@@ -28,9 +28,19 @@ jobs:
28
VERSION=$(jq -r .version ./src/Packages/Passport/package.json)
29
echo "VERSION=$VERSION" >> "$GITHUB_ENV"
30
31
+ - name: Check TS SDK version exists in index.html
32
+ id: check_ts_sdk_version
33
+ run: |
34
+ 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)
35
+
36
+ if [[ -z "$version" ]]; then
37
+ echo "Error: TS SDK version not found in index.html" >&2
38
+ exit 1
39
+ fi
40
41
- name: Create Tag
42
uses: negz/create-tag@v1
43
with:
44
version: "v${{ env.VERSION }}"
45
message: "Version ${{ env.VERSION }}"
- token: ${{ secrets.GITHUB_TOKEN }}
46
+ token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments