tag:help.appveyor.com,2012-11-13:/discussions/questions/48684-appveyor-respects-executable-bitAppVeyor: Discussion 2020-08-10T21:02:56Ztag:help.appveyor.com,2012-11-13:Comment/483937592020-06-10T02:01:53Z2020-06-10T02:01:53ZAppveyor doesn't respect the executable bit?<div><p>Are you packing executables into <code>.zip</code> archives?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/483937592020-06-10T05:44:26Z2020-06-10T05:50:55ZAppveyor doesn't respect the executable bit?<div><p>Yes, that's correct - is that part of the problem?</p>
<p>If so, is there another way to group a collection of files in a folder without it being zipped up automatically by Appveyor? I'm trying to get the build result (which is an executable output in a folder called <code>bin</code>) as an artifact. The artifact should contain the executable and everything next to it as well.</p>
<p>Everything's exactly where I need it before trying to make it an artifact, and simply using this partial config works:</p>
<pre>
<code>artifacts:
- path: bin
name: "MasterPlan-$(APPVEYOR_BUILD_WORKER_IMAGE)-$(APPVEYOR_BUILD_VERSION)"</code>
</pre>
<p>But with this configuration, the executable bit is lost.</p></div>solarlunetag:help.appveyor.com,2012-11-13:Comment/483937592020-06-10T19:34:31Z2020-06-10T19:34:31ZAppveyor doesn't respect the executable bit?<div><p>Unfortunately, <code>.zip</code> is not preserving *nix permissions. You have to package artifacts into <code>.tar.gz</code> and push them to artifacts with <code>appveyor PushArtifact</code> command.</p></div>Feodor Fitsner