From daa90dad3a85a006537a057712cf21f02843975b Mon Sep 17 00:00:00 2001 From: Prince Mathew Date: Tue, 29 Oct 2024 15:21:46 +0530 Subject: [PATCH] Resolved the wrong version reading --- .github/workflows/publish-afpi.yml | 6 +++--- .github/workflows/rl-scanner.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-afpi.yml b/.github/workflows/publish-afpi.yml index b71fc2ea..48a2a246 100644 --- a/.github/workflows/publish-afpi.yml +++ b/.github/workflows/publish-afpi.yml @@ -47,6 +47,6 @@ jobs: flutter: ${{ env.flutter }} working-directory: auth0_flutter_platform_interface - - name: Publish - run: dart pub publish -f - working-directory: auth0_flutter_platform_interface +# - name: Publish +# run: dart pub publish -f +# working-directory: auth0_flutter_platform_interface diff --git a/.github/workflows/rl-scanner.yml b/.github/workflows/rl-scanner.yml index 257ee766..6fe7013f 100644 --- a/.github/workflows/rl-scanner.yml +++ b/.github/workflows/rl-scanner.yml @@ -54,7 +54,7 @@ jobs: - name: Get Artifact Version id: get_version run: | - version=$(cat auth0_flutter/lib/src/version.dart) + version=$(awk -F"'" '/const String version/ {print $2}' auth0_flutter/lib/src/version.dart) echo "version=$version" >> $GITHUB_OUTPUT