title: Getting "Could not find a version of package .." in composer inspite of having tags in Github branch of package
body: <p>I am learning on how to upload a package on packagist.org. I created a github repository for testing with composer.json file -
  <a href="https://github.com/perials/check" rel="nofollow noreferrer">https://github.com/perials/check</a>
   and a composer package using this github repository - <a href="https://packagist.org/packages/perials/check" rel="nofollow noreferrer">https://packagist.org/packages/perials/check</a></p>
  
  <p>When I try to install this package using <code>composer require perials/check</code> I get below error</p>
  
  <pre><code>[InvalidArgumentException]                                              
  Could not find a version of package perials/check matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.
  </code></pre>
  
  <p>From what I read in other related questions on SO this error occurs if there are no stable releases of github branch. But thing is that I already have some releases.</p>
  
  <p>I also tried <code>composer require perials/check:dev-master</code> and <code>composer require perials/check:7.1.0</code> but then I get below error</p>
  
  <pre><code>[InvalidArgumentException]             
  Could not find package perials/check.  
  
  Did you mean this?                     
  perials/check
  </code></pre>