Have you pulled tags into you git repo?
On Jan 18, 2018, at 5:44 PM, Neale Ferguson <[email protected]> wrote:
I saw a similar problem reported in October last year but there was no
report of a resolution. I have done a build since then and it worked but
today when I went to build 3.7.1 I got the following:
OS_ONLY_BUILD_PLATFORMS='linux/amd64' hack/build-rpm-release.sh
[INFO] Building Origin release RPMs with tito...
Version: 3.7.1
Release: 1.1
Creating output directory: /tmp/tito
OS_GIT_MINOR::7+
OS_GIT_MAJOR::3
OS_GIT_VERSION::v3.7.1+8e67101-1
OS_GIT_TREE_STATE::clean
OS_GIT_CATALOG_VERSION::v0.1.2
OS_GIT_COMMIT::8e67101
Tagging new version of origin: 0.0.1 -> 3.7.1-1.1
version_and_rel: 3.7.1-1.1
suffixed_version: 3.7.1
release: 1.1
Traceback (most recent call last):
File "/usr/bin/tito", line 23, in <module>
CLI().main(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/tito/cli.py", line 203, in main
return module.main(argv)
File "/usr/lib/python2.7/site-packages/tito/cli.py", line 671, in main
return tagger.run(self.options)
File "/usr/lib/python2.7/site-packages/tito/tagger/main.py", line 114, in
run
self._tag_release()
File "/root/origin-3.7.1/go/src/
github.com/openshift/origin/.tito/lib/origin/tagger/__init__.py", line 40,
in _tag_release
super(OriginTagger, self)._tag_release()
File "/usr/lib/python2.7/site-packages/tito/tagger/main.py", line 136, in
_tag_release
self._check_tag_does_not_exist(self._get_new_tag(new_version))
File "/usr/lib/python2.7/site-packages/tito/tagger/main.py", line 558, in
_get_new_tag
return self._get_tag_for_version(suffixed_version, release)
TypeError: _get_tag_for_version() takes exactly 2 arguments (3 given)
[ERROR] PID 55920: hack/build-rpm-release.sh:32: `tito tag
--use-version="${OS_RPM_VERSION}" --use-release="${OS_RPM_RELEASE}"
--no-auto-changelog --offline` exited with status 1.
[INFO] Stack Trace:
[INFO] 1: hack/build-rpm-release.sh:32: `tito tag
--use-version="${OS_RPM_VERSION}" --use-release="${OS_RPM_RELEASE}"
--no-auto-changelog --offline`
[INFO] Exiting with code 1.
[ERROR] hack/build-rpm-release.sh exited with code 1 after 00h 00m 05s
make: *** [build-rpms] Error 1
Neale
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev