Skip to content

Commit

Permalink
Update Deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-amisha-i authored Mar 19, 2024
1 parent f108580 commit 4411257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ jobs:
fileData=`cat $file`
IFS='.'
read -a versionValue <<< "$fileData"
buildNumber=$(expr `expr ${versionValue[0]} \* 1000000` + `expr ${versionValue[1]} \* 10000` + ${GITHUB_RUN_ID})
buildNumber=$(expr `expr ${versionValue[0]} \* 1000000` + `expr ${versionValue[1]} \* 10000` + ${{ github.run_attempt }})
IFS=''
buildName="${versionValue[0]}.${versionValue[1]}.$GITHUB_RUN_ID"
buildName="${versionValue[0]}.${versionValue[1]}.${{ github.run_attempt }}"
echo "Uploading build $buildName"
- name: Build and Archive Project
Expand Down

0 comments on commit 4411257

Please sign in to comment.