From d9e9a2c6eee90563f5ef5fa4a2154e6cf0165736 Mon Sep 17 00:00:00 2001 From: varun646 Date: Wed, 25 Sep 2024 09:49:56 -0400 Subject: [PATCH 1/5] remove parens from exclude group --- .github/workflows/identify_target_version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/identify_target_version.yml b/.github/workflows/identify_target_version.yml index 5368a18..b714523 100644 --- a/.github/workflows/identify_target_version.yml +++ b/.github/workflows/identify_target_version.yml @@ -5,7 +5,7 @@ on: workflow_call: inputs: boinc_app_description: - description: 'The BOINC app "description" value from the BOINC server / database' + description: 'LIReC using BOINC instead of AWS (beta test)' required: true type: string specified_version: @@ -40,7 +40,7 @@ jobs: NEW_VERSION="$SPECIFIED_VERSION" echo "Using specified version: $NEW_VERSION" else - VERSION=$(sed -n "/$(printf '%s\n' "$BOINC_APP_DESCRIPTION" | sed 's/[\^$.|?*+(){}]/\\&/g')<\/th>/,/\([0-9].[0-9]\)/p" apps.php | sed -n 's/.*\([0-9][0-9]*\.[0-9]*\)<\/td>.*/\1/ p') + VERSION=$(sed -n "/$(printf '%s\n' "$BOINC_APP_DESCRIPTION" | sed 's/[\^$.|?*+{}]/\\&/g')<\/th>/,/\([0-9].[0-9]\)/p" apps.php | sed -n 's/.*\([0-9][0-9]*\.[0-9]*\)<\/td>.*/\1/ p') if [ -z "$VERSION" ]; then VERSION="1.0" fi From 39f6963640bbee7483dd02847572adab184087eb Mon Sep 17 00:00:00 2001 From: varun646 Date: Wed, 25 Sep 2024 09:53:11 -0400 Subject: [PATCH 2/5] remove hard coded version --- .github/workflows/identify_target_version.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/identify_target_version.yml b/.github/workflows/identify_target_version.yml index b714523..91f80af 100644 --- a/.github/workflows/identify_target_version.yml +++ b/.github/workflows/identify_target_version.yml @@ -32,7 +32,6 @@ jobs: id: new_version_number env: BOINC_APP_DESCRIPTION: ${{ inputs.boinc_app_description }} - SPECIFIED_VERSION: '1.42' run: | echo "BOINC_APP_DESCRIPTION: $BOINC_APP_DESCRIPTION" echo "SPECIFIED_VERSION: $SPECIFIED_VERSION" From 43a5505dbae0d93fc62bffb91e153c0da2f6e036 Mon Sep 17 00:00:00 2001 From: varun646 Date: Wed, 25 Sep 2024 09:57:23 -0400 Subject: [PATCH 3/5] accidentally replaced description --- .github/workflows/identify_target_version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/identify_target_version.yml b/.github/workflows/identify_target_version.yml index 91f80af..84ba380 100644 --- a/.github/workflows/identify_target_version.yml +++ b/.github/workflows/identify_target_version.yml @@ -5,7 +5,7 @@ on: workflow_call: inputs: boinc_app_description: - description: 'LIReC using BOINC instead of AWS (beta test)' + description: 'The BOINC app "description" value from the BOINC server / database' required: true type: string specified_version: From e4afd2f1143649bebc733db9505760d4eacf0aca Mon Sep 17 00:00:00 2001 From: varun646 Date: Wed, 25 Sep 2024 10:02:06 -0400 Subject: [PATCH 4/5] Update identify_target_version.yml --- .github/workflows/identify_target_version.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/identify_target_version.yml b/.github/workflows/identify_target_version.yml index 84ba380..d312ffc 100644 --- a/.github/workflows/identify_target_version.yml +++ b/.github/workflows/identify_target_version.yml @@ -33,6 +33,7 @@ jobs: env: BOINC_APP_DESCRIPTION: ${{ inputs.boinc_app_description }} run: | + BOINC_APP_DESCRIPTION="LIReC using BOINC instead of AWS (beta test)" echo "BOINC_APP_DESCRIPTION: $BOINC_APP_DESCRIPTION" echo "SPECIFIED_VERSION: $SPECIFIED_VERSION" if [[ -n "$SPECIFIED_VERSION" ]]; then From f4a82ee0a9407f3d5a846d688afa5dbdc5ad4c24 Mon Sep 17 00:00:00 2001 From: varun646 Date: Wed, 25 Sep 2024 10:04:25 -0400 Subject: [PATCH 5/5] remove hard coded description remove hard coded description, added for testing --- .github/workflows/identify_target_version.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/identify_target_version.yml b/.github/workflows/identify_target_version.yml index d312ffc..84ba380 100644 --- a/.github/workflows/identify_target_version.yml +++ b/.github/workflows/identify_target_version.yml @@ -33,7 +33,6 @@ jobs: env: BOINC_APP_DESCRIPTION: ${{ inputs.boinc_app_description }} run: | - BOINC_APP_DESCRIPTION="LIReC using BOINC instead of AWS (beta test)" echo "BOINC_APP_DESCRIPTION: $BOINC_APP_DESCRIPTION" echo "SPECIFIED_VERSION: $SPECIFIED_VERSION" if [[ -n "$SPECIFIED_VERSION" ]]; then