The invention discloses a
software packaging and publishing management method. According to the method, after iterative content of a version is confirmed, a corresponding version number is selected during packaging, only a needed script is generated, the content needing to be published is precisely controlled, and codes which are not tested are prevented from being deployed into a formal environment; when script packaging is executed, components with source codes not updated are not recompiled, therefore, only changed parts are compiled, compiling time is shortened, and incremental compiling is realized; based on version tracing of historical version logs, a log
directory is generated every time packaging is performed; and when a
user needs to generate a historical version of a certain time, logs of the needed historical version are selected, a packaging script is selected from the logs, and a script command is executed to generate a needed
package. In this way, it is not needed to back up generated packages every time packaging is performed, only the
package generated this time is stored, therefore, storage space is reduced, and maintenance of the historical version is realized with little hard-
disk space.