]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
sync-push: Print releases in order 1772/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 18 Mar 2021 16:06:23 +0000 (12:06 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 18 Mar 2021 16:06:23 +0000 (12:06 -0400)
commit30a4edaa83c759e30a804876ffc75aa5ab9969b4
tree70c7e6a40b22fb27e824b27ab38241c8c9a61ffd
parentd1f3a6d65bdc4453d58f76c197cf38bc687204e2
sync-push: Print releases in order

Previous directory listing behavior:

```
octopus-15.2.10
octopus-15.2.4
octopus-15.2.5
octopus-15.2.6
octopus-15.2.7
octopus-15.2.8
octopus-15.2.9
```

Desired (and current with this PR) listing behavior:

```
octopus-15.2.4
octopus-15.2.5
octopus-15.2.6
octopus-15.2.7
octopus-15.2.8
octopus-15.2.9
octopus-15.2.10
```

This wasn't discovered until now because the `$newgen` stuff I do in this script only applies to Octopus for now.  Octopus only had single digit minor release versions (15.x.{1..9}) until 15.2.10.  The symlink didn't get updated to download.ceph.com/rpm-octopus still pointed to download.ceph.com/rpm-15.2.9 since it was last in the directory listing.

Signed-off-by: David Galloway <dgallowa@redhat.com>
scripts/sync-push