add version library in github?

Hi.
I had previously posted a library for Ardino manage library on the github site.
.
And now I want to publish the next version of my library.
I have done a series of things that you can see in this link.
.

.
But the next version of my library has not yet appeared in manage library Ardino.
Where do you think the problem comes from?

Hi @hosein12s. I'm glad to hear you've been continuing the development on your library.

The reason your v1.1.0 tag was not picked up by the Arduino Library Manager indexer is because you forgot to update the version value in library.properties before you made the v1.1.0 release/tag:

version=1.0.0

You must always remember to update the version in this file before making your release. It is this value that is used for versioning in Library Manager. The version number in the name of the Git tag is ignored and in fact the tag name can be anything you like.

So you should update the version value in library.properties and then create another release/tag of your repository. After that, it will take some hours for the tag to be picked up by the indexer, added to the libraries index, and for the updated libraries index file to propagate through the CDN cache to become accessible all over the world.

Please let me know if you have any questions.

thank you very much.
But whatever I want to change the version, it does not change?
What should I do? :frowning: :frowning: :frowning:

Hi.
I had previously posted a library for Ardino manage library on the github site.
.
And now I want to publish the next version of my library.
I have done a series of things that you can see in this link.
.

.
But the next version of my library has not yet appeared in manage library Ardino.
Where do you think the problem comes from?

Of course, every time I enter the tag for the new version, it automatically puts the file of the previous version under the tag.

Do we have to make one [tt]repository[/tt][tt] [/tt]for each version of the library?

You already had the thread https://forum.arduino.cc/index.php?topic=712287.msg4784964#msg4784964

How does this one differ from that?

Now if you can answer .... please

Threads merged. Please do not cross-post.

hosein12s:
But whatever I want to change the version, it does not change?

It did change. Everything is working just fine:

As I said before:

pert:
After that, it will take some hours for the tag to be picked up by the indexer, added to the libraries index, and for the updated libraries index file to propagate through the CDN cache to become accessible all over the world.

So you need to be patient.

hosein12s:
Do we have to make one repositoryfor each version of the library?

No no no. That's not necessary. Please don't do that.

thank you.
But for the new version, it also brings the previous version.

How to change the new version file with this file that is inside the photo؟

It's not clear to me what you mean by "it also brings the previous version." or "How to change the new version file with this file that is inside the photo". Please provide a detailed explanation and I'll help out.

I go in to add a new version Releases and open a creat a new releases, then
Then I upload the new version and file.

Then when I download the source code in this section, it downloads version 1.0.0 code for me.

And that’s why inside Ardino in the manage library section, in the select version section, the versions are different, but the files are the same.

OK, I understand now. Thanks for the clarification.

This is your problem:

hosein12s:
Then I upload the new version and file.

The Arduino Library Manager indexer completely ignores that "arsalearn_v.1.1.0.rar" file. It's the contents of your repository at that tag that is installed by the Arduino Library Manager:

So you need to commit changes to the repository.

Release assets like your "arsalearn_v.1.1.0.rar" can be useful in some cases, such as when you have the source c ode for an application in a repository and you want to provide users with the option to download compiled executables so they don't need to compile it themselves. But for Arduino libraries there is really not much use for them, so I recommend that you just use the repository only.

Thank you for your explanation.
And now how can I delete the files in this location, and replace the new files "arsalearn_v.1.1.0.rar" ?

Please do this tutorial to learn the basics of how to use GitHub:

I think that once you have done that you will have the answer to your question.

It's kind of confusing at first, but this is a very useful skill that is well worth taking the time to learn.

Thanks for the article and I read it.
And now which section should I go to for changes in repository ?
If it is better in the form of image or video.
thank you.

I built a library for manage library Ardino and it is now published.

And now I want to add the next version of my library, but when I add the new tag, it brings me the files of the previous version again...

Also posted at https://stackoverflow.com/questions/64710757

This topic has been merged into add version library in github?.

Topics merged

Why did you start a second one on the same subject ?

Sorry.
Do we have to new branch create each time we add a version to the library?