-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 16 Dec 2008 19:15:22 +0100 Michael Mraka <michael.mr...@redhat.com> wrote:
> Devan Goodwin wrote: > ... > % (dgood...@elaine)[~/src/spacewalk] % build.py --help > % Usage: build.py [options] arg > % > % Options: > % -h, --help show this help message and exit > % --tgz build .tar.gz > % --srpm build srpm > % --rpm build rpm > % --dist=DIST dist tag to apply to srpm and/or rpm (i.e. .el5) > % --test Use current branch HEAD instead of latest package > tag. % --no-cleanup Do not clean up temporary build > directories/files. % --tag=TAG Build a specific tag instead > of the latest version. % (i.e. spacewalk-java-0.4.0-1) > % --debug Print debug messages. > % --tag-release Tag a new release of the package. (i.e. x.y.z-R+1 > > So this is equivalent of 'make tag-minor-release'. Is there a way how > to achieve 'make tag-release' behaviour (i.e. x.y.(z+1)-1)? > I'd suggest renaming to --tag-minor-release to be compatible with > make. > > % --keep-version Use spec file version/release to tag package. > % > % Combine --test with --rpm or --srpm to replicate the functionality > of % make test-rpm. > > > -- > Michael Mráka > Satellite Engineering, Red Hat > > _______________________________________________ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-devel build.py --tag-release should just figure out whether or not you want a minor or major release. It became apparent that for any given sub-project we only really allow one type (major or minor) so the code now will figure out which to do based on some metadata in build.py.props. (if it's required, if not specified we assume make tag-release) Just noticed my help msg for --tag-release is out of date, will update this. Thanks, Devan - -- Devan Goodwin <dgood...@redhat.com> Software Engineer - Spacewalk / RHN Satellite Halifax, Canada 650.567.9039x79267 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklH9pYACgkQAyHWaPV9my4rywCfbgHmSPZJzFcu7v6Jen90Uyk+ lM4Anj88rN0Zp5OK8nKHR8Cmwm1kyskO =mrfc -----END PGP SIGNATURE----- _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel