Code Monkey home page Code Monkey logo

Comments (3)

purekid avatar purekid commented on August 17, 2024

I have added this hook for a long time. I don't know why the lastest release haven't been updated in packagist yet,may be cache.

from mongodm.

purekid avatar purekid commented on August 17, 2024

The same issue at composer/packagist#200
The reason is our package version in composer.json is 1.2.0 , not 1.4.0 as release is.
So I redraft a release for v1.4.0.

It will never show a version 2.0.0 for a branch. If you want to have a stable version, you have to create a tag in the repo.
Btw, you should omit the explicit version in your composer.json as it is useless when using a VCS repo but can be harmful. Here is how the version is infered from the git metadata:
for branches, it will be 2.1.x-dev for the branch 2.1 or 2.1.x (same for any branch looking like a version number, to have a comparable version) and dev-master for master (same for any other branch). In these cases, the version field in the composer.json is ignored entirely
for tags, the version is taken from the tag name. If the tag name cannot be parsed as a version, the tag is skipped and cannot be installed through composer. If you specify the version explicitly and it is different than the tag name, the tag will also be considered as invalid and be skipped.
So specifying the version explicitly in a git repo (or a SVN or Hg repo btw) is only a way to make mistakes each time you do a release.

from mongodm.

jrschumacher avatar jrschumacher commented on August 17, 2024

Good to know thanks!

from mongodm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.