We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e8f82d commit 986e53bCopy full SHA for 986e53b
.github/workflows/reusable_build_sample_apps.yml
@@ -96,7 +96,7 @@ jobs:
96
echo "workspace=${{ matrix.cio-workspace-name }}" >> "samples/local.properties"
97
echo "branchName=$BRANCH_NAME" >> "samples/local.properties"
98
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
+ echo "commitsAheadCount=$(git rev-list $(git describe --tags --abbrev=0)..HEAD --count)" >> samples/local.properties
100
if [ "${{ inputs.use_latest_sdk_version == true }}" ]; then
101
echo "sdkVersion=${{ steps.latest-sdk-version-step.outputs.LATEST_TAG }}" >> "samples/local.properties"
102
fi
0 commit comments