Skip to content

Instantly share code, notes, and snippets.

@ahonor
Created November 21, 2014 03:17
Show Gist options
  • Save ahonor/d569cf6fba2d41b2eae1 to your computer and use it in GitHub Desktop.
Save ahonor/d569cf6fba2d41b2eae1 to your computer and use it in GitHub Desktop.
<module name="bintray-upload" shell="bash" version="1.1.0" requires="sh" >
<description>uploads the file</description>
<license>apl 2.0</license>
<commands>
<command name="deb">
<description>publish debian packages to bintray</description>
<options>apikey, file</options>
<scriptfile> $MODULE_DIR/bin/debtool $@</scriptfile>
</command>
<command name="rpm">
<description>publish RPM packages to bintray</description>
<options>apikey, file</options>
<exec>rpm $@</exec>
</command>
<command name="zip">
<description>publish Zip packages to bintray</description>
<options>apikey, file</options>
<script><![CDATA[
package_create $FILE
echo "done" ]]></script>
</command>
</commands>
<options>
<option name="apikey" required="true" arguments="true"
short="" long="msg" default="hi" export="false">
<description>act as a password for REST authentication</description>
</option>
</options>
</module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment