#19 wrong srpm version after copr-frontend-1.150-1 tag
Closed 4 years ago by praiskup. Opened 4 years ago by praiskup.

In PR https://pagure.io/copr/copr/pull-request/755, I'd expect that the src rpm will have version > 1.150, but it does not (see the badge link):

https://copr.fedorainfracloud.org/coprs/g/copr/copr-dev/build/914416/


That happened because you don't have all the tags in your fork that upstream has. The last tag for copr-frontend in your repo (https://pagure.io/fork/praiskup/copr/copr/) is copr-frontend-1.149-1 so the version is being derived from that last tag.

Do you have a remote for the copr upstream repo defined? If yes, then run:

 git fetch --tags upstream

If no, you first need to define it and then when you next run git pull --rebase <upstream> it should automatically fetch the tags as well. If you did e.g.

git pull --rebase https://pagure.io/copr/copr.git to rebase the branch, that doesn't fetch the tags in the current version of git.

ok, it isn't convenient to sync the tags at all, but makes sense

Metadata Update from @praiskup:
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata