Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Issuing releases for minimum Composer stability #13

@janhartigan

Description

@janhartigan

Right now this library doesn't issue any releases (aka tags) which makes it difficult to target the latest version in Composer. There's a simple solution to this: tag releases in git and (optionally) issue releases on GitHub.

I'll briefly explain semantic versioning and how I use it in Laravel Administrator.

Basic idea for releasing new versions:

  • A.B.C, where A is a major potentially compatibility-breaking version release; B is a feature/bugfix release; C is purely a bugfix release
  • When you're ready to release a new version, tag the current commit with an annotated tag in this form: v1.0.0. (git tag -a v1.0.0 -m "Version 1.0.0". Then push that tag to GitHub (git push --tags)
  • Optional, but nice: once you've pushed the tag, you will be able to look in the releases section and create a new release based on that tag. The release should point to that specific tag and should be titled Version 1.0.0.

This not only helps you better-control the stable release version, but it also helps people target older versions of the library in case they need to for whatever reason.

Edit: this may also help with keeping the packagist entry up to date. It sees a last update from April.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions