Help with new tag in library

I published my first library a few weeks ago. Here is the github link:

I created a new tag , 0.0.2

I referenced the new one in my library.properties file:

name=SBC
version=0.0.2
author=Santiago Saldana
maintainer=Santiago Saldana <saldsj3@gmail.com>
sentence=Allows communications with a Steel Battalion Controller using a Teensy 4.0 or 4.1
paragraph=Allows you to connect to a Steel Battalion Controller using a Teensy 4.0 or 4.1 in host mode.  Allows for direct control of lights and reading of joystick values.  Example reads joystick values and presents as a keyboard+mouse+serial+joystick HID joystick device.
category=Device Control
url=https://github.com/SantiagoSaldana/SBC
architectures=*

Looking at the scraper it looks like it is picking it up:
I can't put multiple links as a new user so here is what it looks like:

2021/11/26 06:18:09 Scraping https://github.com/SantiagoSaldana/SBC.git
2021/11/26 06:18:10 Checking out tag: 0.0.1
2021/11/26 06:18:10 Release SBC:0.0.1 already loaded, skipping
2021/11/26 06:18:10 Checking out tag: 0.0.2
2021/11/26 06:18:10 Release SBC:0.0.1 already loaded, skipping

However the new version is not visible in my library manager, I also checked with the online json file:
Here is what the official arduino library_index.json looks like as of 11/26/21 2:15 AM EST

Here is my library in that file

    {
      "name": "SBC",
      "version": "0.0.1",
      "author": "Santiago Saldana",
      "maintainer": "Santiago Saldana \u003csaldsj3@gmail.com\u003e",
      "sentence": "Allows communications with a Steel Battalion Controller using a Teensy 4.0 or 4.1",
      "paragraph": "Allows you to connect to a Steel Battalion Controller using a Teensy 4.0 or 4.1 in host mode.  Allows for direct control of lights and reading of joystick values.  Example reads joystick values and presents as a keyboard+mouse+serial+joystick HID joystick device.",
      "website": "https://github.com/SantiagoSaldana/SBC",
      "category": "Device Control",
      "architectures": [
        "*"
      ],
      "types": [
        "Contributed"
      ],
      "repository": "https://github.com/SantiagoSaldana/SBC.git",
      "url": "https://downloads.arduino.cc/libraries/github.com/SantiagoSaldana/SBC-0.0.1.zip",
      "archiveFileName": "SBC-0.0.1.zip",
      "size": 11978,
      "checksum": "SHA-256:aba88e44eb9e08641f61f05e0f368a0ea5c5af21647a9f006fc87fc09b7574a3"
    },

It's been 24 hrs, am I doing anything wrong?

Your post was MOVED to its current location as it is more suitable.

Hi @hacknfly. Unfortunately the logs don't very clearly communicate about this common problem:

Note that it checked out the 0.0.2 tag, but then found that the release 0.0.1 was already loaded.

The problem is that you forgot to update the version field in the library metadata before making the tag:
https://github.com/SantiagoSaldana/SBC/blob/0.0.2/library.properties#L2

version=0.0.1

Even though the unit of library releases in Arduino Library Manager is the Git tag, all versioning of those releases is based on the library.properties version value. The name of the Git tag is not at all a factor in versioning. It's only an arbitrary identifier for that point in the Git history.

In order to be accepted into the Arduino Library Manager index, a library release is required to have a unique version value. Any release with a duplicate version value is rejected.

Here's what you need to do:

  1. Bump the version value in library.properties.
  2. Create a new release or tag in the library repository.

Please let me know if you have any questions

Thank you very much for the detailed explanation I thought the scraper looked at the library.properties file to know which tag to use.

I've made a 0.0.3 version updating the library.properties file first through a commit before making the new tag. Hopefully all will work well. I'll update later today. Thanks.

@in0 Everything worked, thank you!

You are welcome. I'm glad to hear it is working now.

Thank you for your library and for your attention to its availability via the Arduino Library Manager!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.