Skip to content

Commit

Permalink
Fixed|Builder|Ubuntu: Marking a new version
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Apr 15, 2013
1 parent 897a333 commit 4096b2f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 2 additions & 4 deletions distrib/autobuild.py
Expand Up @@ -150,14 +150,12 @@ def update_changes(debChanges=False):
# Also update the doomsday-fmod changelog (just version number).
os.chdir(os.path.join(builder.config.DISTRIB_DIR, 'dsfmod'))

# Clear the old stuff.
os.system('echo "" > debian/changelog')

fmodVer = build_version.parse_header_for_version('../../doomsday/plugins/fmod/include/version.h')
debVer = "%s.%s.%s-%s" % (fmodVer[0], fmodVer[1], fmodVer[2], todays_build_tag())
print "Marking new FMOD version:", debVer
msg = 'New release: Doomsday Engine build %i.' % builder.Event().number()
os.system('dch --check-dirname-level 0 -v %s -b "%s"' % (debVer, msg))
os.system('rm -f debian/changelog && dch --check-dirname-level 0 --create --package doomsday-fmod -v %s "%s"' % (debVer, msg))

else:
# Save version information.
print >> file(builder.Event(toTag).file_path('version.txt'), 'wt'), \
Expand Down
8 changes: 5 additions & 3 deletions distrib/builder/changes.py
Expand Up @@ -296,16 +296,18 @@ def generate(self, format):

# Append the changes to the debian package changelog.
os.chdir(os.path.join(config.DISTRIB_DIR, 'linux'))
os.system('echo "" > ../debian/changelog')


# First we need to update the version.
debVersion = build_version.DOOMSDAY_VERSION_FULL + '-' + Event().tag()

# Always make one entry.
print 'Marking new version...'
msg = 'New release: %s build %i.' % (build_version.DOOMSDAY_RELEASE_TYPE,
Event().number())
os.system("dch -b --check-dirname-level 0 -v %s \"%s\"" % (debVersion, msg))

# Reset the changelog.
os.system('rm -f ../debian/changelog && ' + \
'dch --check-dirname-level=0 --create --package doomsday -v %s "%s"' % (debVersion, msg))

for entry in self.debChangeEntries:
# Quote it for the command line.
Expand Down
1 change: 0 additions & 1 deletion doomsday/libgui/include/de/Window

This file was deleted.

0 comments on commit 4096b2f

Please sign in to comment.