Re: Generating release from git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 07, 2013 at 07:32:18PM -0500, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> How do you generate the release tarball from the git repo?  I thought
> it would be to run make dist, but it seems the real release tarball is
> bootstrapped with autogen.sh, but NOT configured, and make dist
> generates a tarball that is already configured.

if you have autotools based build system than

   make distcheck

is only way how to generate reliable and consistent tarballs.
My release sequence is usually:

 git tag -s -m "release ${UL_NEXT_RELEASE}" ${UL_NEXT_RELEASE}
 git clean -xfd
 ./autogen.sh
 ./tools/config-gen devel    # or ./configure
 make -j
 make distcheck

note that build system uses tools/git-version-gen to get release
version so "git tag" is necessary to get proper release number.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux