title: Unable to download snapshot artifacts using curl from bintray.com
body: <p>I'm automating the deploy process of a project and one of the things that I'm struggling is to download from Bintray the latest snapshot version of a given maven artifact.
   This <a href="https://bintray.com/docs/api/#_dynamic_download" rel="nofollow">https://bintray.com/docs/api/#_dynamic_download</a> documentation states that you should use $latest variable but all tentatives gave me a 404 error. Following is a curl sample </p>
  
  <pre><code>curl -v -H 'X-Bintray-Package: main' -utmoreira2020:mytoken 'https://bintray.com/content/liferay/myrepo/com/liferay/myproject/distribution/$latest/distribution-$latest.lpkg'
  </code></pre>
  
  <p>Thanks in advance</p>