Correct `scons release` for bugfix releases
This corrects the package build to look for a tarbal named "ocarina-5.11.1.tar.gz" instead of "ocarina-5.11.tar.gz" Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
9370ef34a1
commit
fa812ece74
|
@ -58,7 +58,10 @@ def prepare_release(target, source, env):
|
|||
|
||||
f = open("PKGBUILD", "w")
|
||||
for line in open("PKGBUILD.tmpl"):
|
||||
line = line.replace("pkgver=", "pkgver=%s.%s" % (config.MAJOR, config.MINOR))
|
||||
if config.BUG == 0:
|
||||
line = line.replace("pkgver=", "pkgver=%s.%s" % (config.MAJOR, config.MINOR))
|
||||
else:
|
||||
line = line.replace("pkgver=", "pkgver=%s.%s.%s" % (config.MAJOR, config.MINOR, config.BUG))
|
||||
line = line.replace("md5sums=", "md5sums=('%s')" % md5)
|
||||
line = line.replace("YEAR", year)
|
||||
line = line.replace("MONTH", month)
|
||||
|
|
Loading…
Reference in New Issue