OS4 DepotLogo by Browallia 
(anonymous IP: 3.145.72.44,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Development » Utility » revbump.lha

Revbump

Description: A revision bumper with extra fields
Download: revbump.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 40kb
Version: 51.3
Date: 21 Sep 2006
Author: Joachim Birging
Submitter: Steven Solie
Email: ssolie/telus net
Category: development/utility
License: Public domain
Distribute: yes
Min OS Version: 4.0
FileID: 2104
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 339  (Current version)
339  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
revbump.readme:
---------------
revbump - a revision bumper that supports version numbers like 4.17.13 and
a few things more. Released as Public Domain.

Binaries for AmigaOS 3, AmigaOS 4, MorphOS, x86-AROS and x86-linux
included in this archive.


Usage:
------
revbump <name> [ver|rev|sub] [<version>] [<revision>] [<subrevision>]

name: The name of the project. Resulting file will use it as basename,
example name_rev.h. Must be the second argument.

ver: This switch will bump the version number.

rev: This switch will bump the revision number. This is the default
behavior if leaving out any of the ver, rev or sub arguments.

sub: This switch will bump the subrevision number.

version: The version number you want the project to have. If this is the
last argument revision and subrevision will be set to 0.

revision: The revision number the project should have. If this is the last
argument subrevision will be set to 0.

subrevision: The subrevision of the project, for full control of the
entire version.revision.subrevision line.

revbump - a revision bumper that supports version numbers like 4.17.13 and
a few things more. Released as Public Domain.

Binaries for AmigaOS 3, AmigaOS 4, MorphOS, x86-AROS and x86-linux
included in this archive.


Usage:
------
revbump <name> [ver|rev|sub] [<version>] [<revision>] [<subrevision>]

name: The name of the project. Resulting file will use it as basename,
example name_rev.h. Must be the second argument.

ver: This switch will bump the version number.

rev: This switch will bump the revision number. This is the default
behavior if leaving out any of the ver, rev or sub arguments.

sub: This switch will bump the subrevision number.

version: The version number you want the project to have. If this is the
last argument revision and subrevision will be set to 0.

revision: The revision number the project should have. If this is the last
argument subrevision will be set to 0.

subrevision: The subrevision of the project, for full control of the
entire version.revision.subrevision line.


The result:
-----------
Best is a sample file, produced by the command 'revbump project'

---
#define VERSION	0
#define REVISION	1
#define SUBREVISION	0

#define DATE	"11.09.2006"
#define VERS	"project 0.1"
#define VSTRING	"project 0.1 (11.09.2006)rn"
#define VERSTAG	"$VER: project 0.1 (11.09.2006)"

#define VERSION_STR	"0"
#define REVISION_STR	"1"
#define SUBREVISION_STR	"0"

#define NEW_VERS	"project 0.1.0"
#define NEW_VSTRING	"project 0.1.0 (11.09.2006)rn"
#define NEW_VERSTAG	"$VER: project 0.1.0 (11.09.2006)"
---

Same tags as with normal 'bumprev', but some extra tags as well.


Examples:
---------
'revbump project' :
Will create a file project_rev.h, with version number 0.0.1, or if the
file project_rev.h exists, bump the revision for it.

'revbump project sub' :
Will bump the subrevision of project. This switch will have no effect if
the file project_rev.h does not exist.

'revbump project 4 17 13' :
Will set the version number to 4.17.13.


History:
--------
51.3 - Added "touch" argument, will only update the date.
     - When subrevision = 0 it will not be shown in the versionstring.

51.2 - Bugfix version. Added "ver", "rev" and "sub" arguments.

51.1 - Quickly removed from AmiNet, severe bug encountered.


Copyright © 2004-2024 by Björn Hagström All Rights Reserved