tag:help.appveyor.com,2012-11-13:/discussions/suggestions/650-custom-wap-artifact-namesAppVeyor: Discussion 2018-10-19T08:17:09Ztag:help.appveyor.com,2012-11-13:Comment/366257482015-04-20T17:40:49Z2015-04-20T17:40:49ZCustom WAP artifact names<div><p>Hi Aristarkh,</p>
<p>Currently, there is no way to set file name for WAP Web Deploy
package, but you can replace automatic packaging with your own
command, kind of:</p>
<pre>
<code>msbuild YourWapProjectName.csproj /T:Package /P:PackageLocation="%appveyor_build_folder%\MyAppPackage-%appveyor_build_version%.zip"</code>
</pre>
<p>then push it to artifacts:</p>
<pre>
<code>appveyor PushArtifact %appveyor_build_folder%\MyAppPackage-%appveyor_build_version%.zip -Type WebDeployPackage</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/366257482015-04-20T19:46:55Z2015-04-20T19:46:58ZCustom WAP artifact names<div><p>Thank you for the example, Feodor.</p></div>Aristarkh Zagorodnikovtag:help.appveyor.com,2012-11-13:Comment/366257482016-07-21T16:28:15Z2016-11-28T22:20:49ZCustom WAP artifact names<div><p>I was able to address a similar requirement by adding a "On
build finish script" within Project --> Settings -->
General</p>
<p>The CMD script was:</p>
<p>aws configure set AWS_ACCESS_KEY_ID<br>
aws configure set AWS_SECRET_ACCESS_KEY<br>
aws configure set default.region us-west-1<br>
aws s3 mv s3://YOUR_BUCKET/YOUR_FOLDER/proejctDeployFileName.zip
s3://YOUR_BUCKET/YOUR_FOLDER/proejct.Build-%APPVEYOR_BUILD_NUMBER%.%APPVEYOR_REPO_BRANCH%.zip</p></div>rgowda