Eliot Miranda uploaded a new version of ReleaseBuilder to project The Trunk:
http://source.squeak.org/trunk/ReleaseBuilder-eem.176.mcz==================== Summary ====================
Name: ReleaseBuilder-eem.176
Author: eem
Time: 17 January 2018, 12:48:11.715035 am
UUID: c1fa3441-4f91-406b-b996-bcd920a7611b
Ancestors: ReleaseBuilder-eem.175
prepareSourceCode is much faster, particularly the scan for undeclared symbols, if done within CurrentReadOnlySourceFiles cacheDuring:.
=============== Diff against ReleaseBuilder-eem.175 ===============
Item was changed:
----- Method: ReleaseBuilder class>>saveAsNewRelease (in category 'saving') -----
saveAsNewRelease
"Use this to create a new release image to be used in the automated release artifact building process on
http://www.github.com/squeak-smalltalk/squeak-app."
| fileName |
self setNewSystemVersion: self versionString.
self assert: self versionString = SystemVersion current version.
fileName := ('squeak-{1}.{2}{3}' format: {
SystemVersion current majorVersionNumber.
SystemVersion current minorVersionNumber.
self releaseLocally ifTrue: ['-offline'] ifFalse: ['']}).
Smalltalk saveAs: fileName.
"Update the image state."
+ CurrentReadOnlySourceFiles cacheDuring:
+ [self prepareSourceCode].
self
- prepareSourceCode;
prepareEnvironment;
switchToNewRepository: self releaseRepository;
addAdditionalRepositories.
Smalltalk condenseChanges.
Smalltalk snapshot: true "Important!!" andQuit: true.!