Skip to content

Commit 986e53b

Browse files
committed
fix count
1 parent 3e8f82d commit 986e53b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/reusable_build_sample_apps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
echo "workspace=${{ matrix.cio-workspace-name }}" >> "samples/local.properties"
9797
echo "branchName=$BRANCH_NAME" >> "samples/local.properties"
9898
echo "commitHash=${COMMIT_HASH:0:7}" >> "samples/local.properties"
99-
echo "commitsAheadCount=$(git rev-list $(git describe --tags --abbrev=0)..${{ env.BRANCH_NAME }} --count)" >> samples/local.properties
99+
echo "commitsAheadCount=$(git rev-list $(git describe --tags --abbrev=0)..HEAD --count)" >> samples/local.properties
100100
if [ "${{ inputs.use_latest_sdk_version == true }}" ]; then
101101
echo "sdkVersion=${{ steps.latest-sdk-version-step.outputs.LATEST_TAG }}" >> "samples/local.properties"
102102
fi

0 commit comments

Comments
 (0)