Sublime Forum

Missing Git version tag on GitHub release

#1

When updating a package with Package Control, I notice that the Git tag applied to the release on GitHub does not appear on the version information for the package (e.g. Preferences/Package Control, click List Packages). Pre-release version v0.1.3 of my package, at st3-theme-kcps, was released with this version number, but when updated by Package Control, the package metadata installed in the package file bears the date and time of the release instead of the version number.

I know it is possible to have the version number attached to the package as I’ve found examples, such as for package Freesia and the Package Control package itself.

I’ve followed the instructions on Submitting a Package, particularly Step 6 to ensure the package’s repository is added to the ST Default Channel.

Any advice much appreciated.

0 Likes

#2

Versioning only works if you point the releases channel at the repository’s tags. I’d guess you pointed it to a specific branch instead, so that’s probably the issue, but I couldn’t say without seeing your package control entry.

0 Likes

#3

Thanks for the observation. Here’s the json I used for the PC entry:

{ "name": "KCPS Theme", "details": "https://github.com/KCPS/st3-theme-kcps", "labels": "KCPS", "text colour scheme", "user interface colour scheme"], "releases": { "sublime_text": ">=3000", "details": "https://github.com/KCPS/st3-theme-kcps/tags" } ] }

0 Likes