Pass Deb repo secret to the repoapi script

The secret is not passing by env now. However repoapi still assumes the
secret will be passed by env. Pass through the secret via command line
This commit is contained in:
William Li 2017-08-07 15:04:58 -07:00 committed by William Lee
parent 6a64e17857
commit 414585ab27

View file

@ -28,6 +28,6 @@
<Delete Files="$(DebianUploadJsonFile)" />
<WriteLinesToFile File="$(DebianUploadJsonFile)" Lines="$(DebianUploadJsonContent)" />
<Exec Command="$(RepoRoot)/scripts/publish/repoapi_client.sh -addpkg $(DebianUploadJsonFile)" />
<Exec Command="REPO_PASS=$(REPO_PASS) sh -c '$(RepoRoot)/scripts/publish/repoapi_client.sh -addpkg $(DebianUploadJsonFile)'" />
</Target>
</Project>