##// END OF EJS Templates
automation: push changes affecting .hgtags...
automation: push changes affecting .hgtags When I went to build the 5.1 tag using the in-repo automation, the automatic version calculation failed to deduce the clean 5.1 version string because we had only pushed the changeset corresponding to the 5.1 tag and not the changeset containing the 5.1 tag. So from the perspective of the remote repo, the 5.1 tag didn't exist yet and automatic version deduction failed. This commit changes the `hg push` to also push all changesets affecting the .hgtags file, ensuring the remote has up-to-date tags information. I tested this by creating a local draft changeset with a dummy tag value on a different DAG head and instructed the automation to build a revision that didn't have this change to .hgtags. The tag was successfully pushed and the built package had a version number incorporating that tag. Sending this to stable so the 5.1.1 automation hopefully "just works."

File last commit:

r41270:4c0d4bbd default
r42911:9e0f1c80 stable
Show More
centos6
24 lines | 392 B | text/plain | TextLexer
Gregory Szorc
packaging: move most of contrib/docker to contrib/packaging/docker...
r38023 FROM centos:centos6
Gregory Szorc
packaging: consistently create build user in Dockerfiles...
r38475
Mathias De Mare
packaging: allow running packaging with custom uid+gid for CentOS...
r41270 RUN groupadd -g %GID% build && \
useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
Gregory Szorc
packaging: consistently create build user in Dockerfiles...
r38475
Gregory Szorc
packaging: move most of contrib/docker to contrib/packaging/docker...
r38023 RUN yum install -y \
gcc \
gettext \
make \
python-devel \
python-docutils \
rpm-build \
tar
# For creating repo meta data
RUN yum install -y createrepo
# For python
RUN yum install -y \
bzip2-devel \
ncurses-devel \
openssl-devel \
readline-devel \
zlib-devel