# Package does not meet sequential version number guideline

**URL:** <https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752>\
**Category:** General Usage\
**Created:** [August 11, 2020, 4:24pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752 "2020-08-11T16:24:53Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [August 11, 2020, 4:24pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/1 "2020-08-11T16:24:53Z")

</div>

I keep getting these messages when registering new versions of my package. But I do not see how I am not following the guideline, I released a patch and changed the version from 0.2.0 to 0.2.1 and after fixing another minor thing, to 0.2.2.

What am I doing wrong?

Your `new version` pull request does not meet the guidelines for auto-merging. Please make sure that you have read the [General registry README](https://github.com/JuliaRegistries/General/blob/master/README.md). The following guidelines were not met:

- Does not meet sequential version number guideline: version 0.2.1 skips over 0.2.0

Note that the guidelines are only required for the pull request to be merged automatically. However, it is **strongly recommended** to follow them, since otherwise the pull request needs to be manually reviewed and merged by a human.

The package is this: [https://github.com/m3g/PDBTools](https://github.com/m3g/PDBTools)

---

<div class="post-metadata">

**Author:** ![anon37204545](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@anon37204545](https://discourse.julialang.org/u/anon37204545)\
**Post date:** [August 11, 2020, 5:08pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/2 "2020-08-11T17:08:32Z")

</div>

The last version you registered is v0.1.0, as you can see in [https://github.com/JuliaRegistries/General/blob/master/P/PDBTools/Versions.toml](https://github.com/JuliaRegistries/General/blob/master/P/PDBTools/Versions.toml). You are supposed to register v0.2.0 first, then v0.2.1, then v0.2.2.

For practical purposes, you can just release v0.2.0 now, with the changes for v0.2.1 and v0.2.0 included.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [August 11, 2020, 5:20pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/3 "2020-08-11T17:20:44Z")

</div>

Uhm… ok. Thank you. I am a bit confused yet with the release protocol. I thought that commenting “@JuliaRegistrator register()” to a commit and changing the version number was enough, but apparently I am doing something else wrong.

---

<div class="post-metadata">

**Author:** ![anon37204545](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@anon37204545](https://discourse.julialang.org/u/anon37204545)\
**Post date:** [August 11, 2020, 6:06pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/4 "2020-08-11T18:06:50Z")

</div>

> [@lmiq](#):
>
> @JuliaRegistrator register()

It should be `@JuliaRegistrator register` (no parens), and you have to install [JuliaRegistrator GitHub app](https://github.com/apps/juliateam-registrator) previously.  
Alternatively, you can register your package on [https://juliahub.com/](https://juliahub.com/) after you’ve logged in there.

---

<div class="post-metadata">

**Author:** ![thofma](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thofma/32/1691_2.png) [@thofma](https://discourse.julialang.org/u/thofma)\
**Post date:** [August 11, 2020, 6:07pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/5 "2020-08-11T18:07:52Z")

</div>

I think you noticed yourself, that your tag for 0.2.0 somehow did not trigger the registration bot. I think this was the only problem and you did everything right.

PS. The bot usually triggers two notifications/emails (this is usually the way I notice if it did not work).

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [August 11, 2020, 6:12pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/6 "2020-08-11T18:12:26Z")

</div>

I think it was the contrary, I used it without the parenthesis, and they must be there.

Now I will see why TagBot is apparently not doing anything. Than you all!

---

<div class="post-metadata">

**Author:** ![thofma](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thofma/32/1691_2.png) [@thofma](https://discourse.julialang.org/u/thofma)\
**Post date:** [August 11, 2020, 6:15pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/7 "2020-08-11T18:15:09Z")

</div>

Both works. But there are sometimes network outages or other things that can make it fail.

---

<div class="post-metadata">

**Author:** ![thofma](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thofma/32/1691_2.png) [@thofma](https://discourse.julialang.org/u/thofma)\
**Post date:** [August 11, 2020, 6:18pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/8 "2020-08-11T18:18:11Z")

</div>

You might want to change the TagBot config to ` cron: 0 * * * *` to run it every hour.

(At the moment it is run only at the end of every day)

---

<div class="post-metadata">

**Author:** ![anon37204545](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@anon37204545](https://discourse.julialang.org/u/anon37204545)\
**Post date:** [August 11, 2020, 6:23pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/9 "2020-08-11T18:23:45Z")

</div>

> [@lmiq](#):
>
> Now I will see why TagBot is apparently not doing anything. Than you all!

TagBot runs once a day, every midnight (`cron 0 0 ...`). It wasn’t doing anything because the versions weren’t registered.

> [@lmiq](#):
>
> I think it was the contrary, I used it without the parenthesis, and they must be there.

It works without them, don’t worry.

This is an outline of the workflow:

1. change the version number from a.b.c to d.e.f in `Project.toml` and commit it
2. comment “@JuliaRegistrator register” on the commit
3. new version gets a PR in the General registry, which is auto-merged every ~15min
4. TagBot finds a new version registered and tags it

There are other ways to do steps 1 and 2, but I find this one the simplest.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [August 11, 2020, 6:34pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/10 "2020-08-11T18:34:46Z")

</div>

Since you are being gentle (thanks…), is that TravisCI (with .travis.yml) playing any role there? I registered myself there but it was not clear to me what is that for.

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [August 11, 2020, 6:44pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/11 "2020-08-11T18:44:02Z")

</div>

.travis.yml is for managing your CI and running documenter.jl  
Since you don’t seem to have a test directory and maintain your docs elsewhere, you may not need that.

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [August 11, 2020, 6:46pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/12 "2020-08-11T18:46:35Z")

</div>

@anon37204545, here is related and more low-level query. When I register a package for the first time, do I link to the master branch or the most recent tagged branch? I think I understand (finally!) how tagbot sorts that out for me after the initial registration.

---

<div class="post-metadata">

**Author:** ![anon37204545](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@anon37204545](https://discourse.julialang.org/u/anon37204545)\
**Post date:** [August 11, 2020, 7:01pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/13 "2020-08-11T19:01:27Z")

</div>

> [@ctkelley](#):
>
> When I register a package for the first time, do I link to the master branch or the most recent tagged branch?

It is linked to the commit on which you triggered the registration. But in the 3 day waiting period you can comment on another commit, which will be used instead.

TagBot is ultimately linked to the commit used for registration, so you don’t have to worry about it.

> [@lmiq](#):
>
> Since you are being gentle (thanks…), is that TravisCI (with .travis.yml) playing any role there? I registered myself there but it was not clear to me what is that for.

You don’t need Travis at all. GitHub Actions can do the same for you. Try playing with with [PkgTemplates](https://github.com/invenia/PkgTemplates.jl) to set it up. If you don’t use tests or docs, you don’t need either of those services.

---

<div class="post-metadata">

**Author:** ![joshua\_jones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joshua_jones/32/7554_2.png) [@joshua\_jones](https://discourse.julialang.org/u/joshua_jones)\
**Post date:** [August 27, 2020, 4:46am UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/14 "2020-08-27T04:46:07Z")

</div>

I’m having a similar issue. Trying to release a minor version, I got this automerge error:

> Does not meet sequential version number guideline: version 1.2.0 skips over 1.1.0

I actually did release 1.1.0. However, it couldn’t be auto-merged, and my PR sat untouched from July 7th. I didn’t realize this had happened until I looked into the error.

Will it break anything if I simply decrement the version number to 1.1.0 and redo the registrator request?

---

<div class="post-metadata">

**Author:** ![thofma](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thofma/32/1691_2.png) [@thofma](https://discourse.julialang.org/u/thofma)\
**Post date:** [August 27, 2020, 6:32am UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/15 "2020-08-27T06:32:50Z")

</div>

No, this is fine and actually the correct way to update the registration process.

Other option: Was the auto merge because of a problem on your part? If not and it was a problem with auto merge itself, you can also ask for a manual merge.

---

<div class="post-metadata">

**Author:** ![joshua\_jones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joshua_jones/32/7554_2.png) [@joshua\_jones](https://discourse.julialang.org/u/joshua_jones)\
**Post date:** [August 27, 2020, 6:48am UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/16 "2020-08-27T06:48:08Z")

</div>

Oh, the first automerge was my fault. Thank you for clarifying, this should be a very easy fix! (edit) It worked!

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [August 27, 2020, 1:29pm UTC](https://discourse.julialang.org/t/package-does-not-meet-sequential-version-number-guideline/44752/17 "2020-08-27T13:29:40Z")

</div>

Note that the tag isn’t needed at all for Pkg to correctly install the package.

Running a TagBot job per hour means that there are 24 useless CI jobs spinning every day (the useless jobs are 23 in those busy days when you do a new release). By running TagBot once per day at least you divide by about 24 the number of useless jobs
