Code publishing method and device, computer equipment and storage medium
The invention relates to a code publishing method and device, computer equipment and a storage medium. The method comprises the following steps: constructing a to-be-published online branch; verifyingthe online branch, and compiling the online branch to obtain an executable branch code when the veri...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a code publishing method and device, computer equipment and a storage medium. The method comprises the following steps: constructing a to-be-published online branch; verifyingthe online branch, and compiling the online branch to obtain an executable branch code when the verification is passed; packaging the executable branch code to finish pre-publishing according to theonline type of the online branch and the online time in the time window; obtaining a pre-publishing state of pre-publishing; and when the pre-publishing state is the preset publishing state and no newbranch exists, combining the executable branch codes into the corresponding trunk codes to complete publishing of the online branch. According to the method, the online code security is improved.
本申请涉及一种代码发布方法、装置、计算机设备和存储介质。所述方法包括:构建待发布的上线分支;对上线分支进行校验,当校验通过时,对上线分支进行编译,得到可执行的分支代码;根据上线分支的上线类型和在时间窗口中的上线时间,对可执行的分支代码进行打包完成预发布;获取预发布的预发布状态;当预发布状态为预设发布状态时且不存在新分支,将可执行的分支代码合并到对应的主干代码中,完成上线分支的发布。该方法提高上线代码安全性。 |
---|