Skip to content

Commit 2c697a8

Browse files
committed
fix: Prerelease.yaml bug;
1 parent 55e191f commit 2c697a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/Prerelease.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
source $DEVOPS_LIB_DIR/gh_core.sh
8787
8888
dotnet_version='${{ env.DOTNET_VERSION }}'
89-
package_projects=is_safe_json_array '${{ env.PACKAGE_PROJECTS }}' '[]' is_safe_existing_file
89+
package_projects=$(is_safe_json_array '${{ env.PACKAGE_PROJECTS }}' '[]' is_safe_existing_file)
9090
package_projects_len=$(jq 'length // 0' <<< "$package_projects")
9191
preprocessor_symbols='${{ env.PREPROCESSOR_SYMBOLS }}'
9292
minver_tag_prefix='${{ env.MINVERTAGPREFIX || 'v' }}'

templates/AddNewPackage/content/.github/workflows/Prerelease.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
source $DEVOPS_LIB_DIR/gh_core.sh
7777
7878
dotnet_version='${{ env.DOTNET_VERSION }}'
79-
package_projects=is_safe_json_array '${{ env.PACKAGE_PROJECTS }}' '[]' is_safe_existing_file
79+
package_projects=$(is_safe_json_array '${{ env.PACKAGE_PROJECTS }}' '[]' is_safe_existing_file)
8080
package_projects_len=$(jq 'length // 0' <<< "$package_projects")
8181
preprocessor_symbols='${{ env.PREPROCESSOR_SYMBOLS }}'
8282
minver_tag_prefix='${{ env.MINVERTAGPREFIX || 'v' }}'

0 commit comments

Comments
 (0)