File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,12 @@ jobs:
82
82
- name : Set version tag
83
83
id : versiontag
84
84
run : |
85
- $ VERSION_TAG = "${{ steps.gitversion.outputs.Major }}."
86
- $ VERSION_TAG += "${{ steps.gitversion.outputs.Minor }}."
87
- $ VERSION_TAG += "${{ steps.gitversion.outputs.CommitsSinceVersionSource }}"
85
+ VERSION_TAG= "${{ steps.gitversion.outputs.Major }}."
86
+ VERSION_TAG+= "${{ steps.gitversion.outputs.Minor }}."
87
+ VERSION_TAG+= "${{ steps.gitversion.outputs.CommitsSinceVersionSource }}"
88
88
echo $VERSION_TAG
89
- Write-Output "versiontag=$VERSION_TAG" >> $env: GITHUB_OUTPUT
89
+ echo "versiontag=$VERSION_TAG" >> "$ GITHUB_OUTPUT"
90
90
91
91
- name : Deploy SWA
92
92
run : |
93
- scripts/deploy/deploy-webapp.sh --subscription ${{secrets.AZURE_SUBSCRIPTION_ID}} --resource-group ${{vars.CC_DEPLOYMENT_GROUP_NAME}} --deployment-name ${{inputs.DEPLOYMENT_NAME}} --application-id ${{vars.APPLICATION_CLIENT_ID}} --authority ${{secrets.APPLICATION_AUTHORITY}} --no-redirect -version ${{ steps.versiontag.outputs.versiontag }} -version-info "Built from commit ${{ steps.gitversion.outputs.ShortSha }} on $(Get-Date -Format "yyyy-MM-dd ")"
93
+ scripts/deploy/deploy-webapp.sh --subscription ${{secrets.AZURE_SUBSCRIPTION_ID}} --resource-group ${{vars.CC_DEPLOYMENT_GROUP_NAME}} --deployment-name ${{inputs.DEPLOYMENT_NAME}} --application-id ${{vars.APPLICATION_CLIENT_ID}} --authority ${{secrets.APPLICATION_AUTHORITY}} --no-redirect -- version ${{ steps.versiontag.outputs.versiontag }} -- version-info "Built from commit ${{ steps.gitversion.outputs.ShortSha }} on $(date +"%Y-%m-%d ")"
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ while [[ $# -gt 0 ]]; do
54
54
shift
55
55
shift
56
56
;;
57
- -i|--version-nfo )
57
+ -i|--version-info )
58
58
VERSION_INFO=" $2 "
59
59
shift
60
60
shift
@@ -177,4 +177,4 @@ if [ "$NO_REDIRECT" != true ]; then
177
177
fi
178
178
fi
179
179
180
- echo " To verify your deployment, go to 'https://$WEB_APP_URL ' in your browser."
180
+ echo " To verify your deployment, go to 'https://$WEB_APP_URL ' in your browser."
You can’t perform that action at this time.
0 commit comments