Skip to content

Backport package.json to master branch #1

@favoyang

Description

@favoyang

Hi @jeffcampbellmakesgames,

Thanks for creating the awesome package. I work on https://github.com/openupm/openupm, which is an upcoming UPM registry for open source unity package (sneak preview). The service can build and publish UPM package direcly from git repo. For unity-semver, however certain changes are required

  • backport package.json from stable branch to master, located at Unity/Assets/JCMG
  • bump the version and make a new release

The openupm build pipeline will checkout each tags that is valid semver, and locate the package.json file as the root, then run npm publish from there.

An optional change is to move the Unity/Assets/JCMG folder to Unity/packages/ and rename it as com.jeffcampbellmakesgames.semver. This way the package acts as a local package in the main unity project. Here's an example project using this layout.

The changes benefit openupm, but are good practice in general.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions