A code file publishing method and device

By receiving the code file release instruction, the target code file is obtained and the system interface set of multiple file release systems is used for unified release, which solves the problem of poor compatibility of the file release system in the existing technology and improves the efficiency of code file release.

CN113553065BActive Publication Date: 2024-10-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010337944.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-26
Publication Date
2024-10-18
Estimated Expiration
2040-04-26

AI Technical Summary

Technical Problem

In the existing technology, different file publishing systems lack mutual compatibility, which results in the need to adapt and develop each system interface when publishing code files, which is inefficient.

Method used

By receiving code file release instructions, the target code file is obtained and submitted to the code hosting platform, the system interface set of multiple file release systems is obtained, and the target system interface is used to call the corresponding file release system to achieve unified release of code files.

Benefits of technology

It avoids cumbersome separate development operations caused by differences in system interfaces and improves the efficiency of code file release.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113553065B_ABST
    Figure CN113553065B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a code file publishing method and device; the embodiment of the present application can receive a code file publishing instruction acting on a file publishing tool; according to the code file publishing instruction, obtain the target code file to be published; submit the target code file to the code hosting platform; obtain the system interface set connected to the file publishing tool, the system interface set includes system interfaces of multiple different file publishing systems; through the target system interface in the system interface set, call the corresponding target file publishing system to publish the target code file in the code hosting platform. The solution can publish the target code file of the code hosting platform through the target file publishing system corresponding to the target system interface based on the system interfaces of multiple different file publishing systems connected to the file publishing tool, avoiding the tedious operation of developing each system interface separately due to the differences between the system interfaces, thereby greatly improving the efficiency of code file publishing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a code file publishing method and device. Background Art

[0002] During the development of a software project, developers need to develop, compile and package the code files in the software project, and then publish them through a publishing system to provide them to users.

[0003] The code file publishing method of the prior art generally provides a file publishing system, such as the OP publishing system of FIT, which packages and compresses the code files and transmits them to each machine in the cluster through the network. For example, the user can choose to submit the code file to be published through the web operation page provided by the file publishing system. The file publishing system pulls the code file submitted by the user and publishes it to each machine in different environments (such as development environment, test environment, production environment, etc.).

[0004] During the research and practice of the prior art, the inventors of the present invention discovered that different file publishing systems in the prior art are rarely compatible with each other. When multiple file publishing systems are required to publish code files, the interfaces of different file publishing systems need to be adapted and developed, which greatly reduces the efficiency of publishing code files. Summary of the invention

[0005] The embodiments of the present application provide a code file publishing method and device, which can improve the efficiency of code file publishing.

[0006] The present application provides a code file publishing method, including:

[0007] Receiving a code file publishing instruction acting on a file publishing tool;

[0008] According to the code file publishing instruction, obtain the target code file to be published;

[0009] Submitting the target code file to the code hosting platform;

[0010] Acquire a system interface set to which the file publishing tool is connected, wherein the system interface set includes system interfaces of multiple different file publishing systems;

[0011] The target system interface in the system interface set is used to call the corresponding target file publishing system to publish the target code file in the code hosting platform.

[0012] Accordingly, the embodiment of the present application further provides a code file publishing device, including:

[0013] A receiving unit, used for receiving a code file publishing instruction acting on a file publishing tool;

[0014] A file acquisition unit, used to acquire a target code file to be released according to the code file release instruction;

[0015] A submission unit, used to submit the target code file to a code hosting platform;

[0016] An interface acquisition unit, used to acquire a system interface set to which the file publishing tool is connected, wherein the system interface set includes system interfaces of multiple different file publishing systems;

[0017] The calling unit is used to call the corresponding target file publishing system to publish the target code file in the code hosting platform through the target system interface in the system interface set.

[0018] In some embodiments, the file publishing tool includes a separate control layer and a business layer, the business layer includes an interface business corresponding to the system interface in the system interface set; the calling unit is used to:

[0019] Retrieving the target interface service in the service layer through the control layer;

[0020] Through the target system interface corresponding to the target interface service, the corresponding target file publishing system is called to publish the target code file in the code hosting platform.

[0021] In some embodiments, the code file publishing device further includes an access unit, which is used to:

[0022] Separate the control layer and business layer of the initial document publishing tool;

[0023] The system interfaces of multiple different file publishing systems are connected to the separated business layer to generate interface businesses corresponding to the system interfaces and obtain a file publishing tool.

[0024] In some embodiments, the code file publishing device further includes a parsing unit, and the parsing unit includes:

[0025] An acquisition subunit, used to acquire a configuration file for publishing a code file, wherein the configuration file includes a publishing field;

[0026] The parsing subunit is used to parse the release field to obtain the target file release system required for releasing the target code file.

[0027] In some embodiments, the parsing subunit is used to:

[0028] Parsing the release field to obtain a system identifier;

[0029] According to the system identifier, it is determined that the file publishing system corresponding to the system identifier is the target file publishing system required to publish the target code file.

[0030] In some embodiments, the acquisition subunit is used to:

[0031] Displaying a configuration page of a file publishing tool, wherein the configuration page includes publishing fields of an initial configuration file;

[0032] Based on the user's editing operation on the publishing field in the initial configuration file, a configuration file for publishing the code file is obtained.

[0033] In one embodiment, the calling unit is used to:

[0034] Determining a release order of the target code files based on the file types of the target code files in the code hosting platform;

[0035] Through the target system interface in the system interface set and the release sequence, the corresponding target file release system is called to release the target code file in the code hosting platform.

[0036] In one embodiment, the submitting unit is used to:

[0037] Performing type detection on the target code file to obtain the file type of the target code file;

[0038] Submit the target code file and the file type of the target code file to the code hosting platform.

[0039] In one embodiment, the receiving unit is used to:

[0040] Detect the instruction code in the continuous integration deployment platform;

[0041] When a calling instruction for a file publishing tool is detected, the file publishing tool is called, and the receiving of a code file publishing instruction acting on the file publishing tool is triggered.

[0042] Correspondingly, the present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in any one of the code file publishing methods provided in the embodiments of the present application are implemented.

[0043] In addition, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the steps in any one of the code file publishing methods provided in the embodiments of the present application are implemented.

[0044] The embodiment of the present application can receive a code file publishing instruction acting on a file publishing tool; obtain the target code file to be published according to the code file publishing instruction; submit the target code file to the code hosting platform; obtain the system interface set connected to the file publishing tool, which system interface set includes system interfaces of multiple different file publishing systems; through the target system interface in the system interface set, call the corresponding target file publishing system to publish the target code file in the code hosting platform. Since the solution can publish the target code file of the code hosting platform through the target file publishing system corresponding to the target system interface based on the system interfaces of multiple different file publishing systems connected to the file publishing tool, it avoids the tedious operation of separately developing each system interface due to the differences between the system interfaces when multiple different file publishing systems are needed to publish the target code file, thereby greatly improving the efficiency of code file publishing. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0046] Figure 1a It is a scenario diagram of the code file publishing method provided in an embodiment of the present application;

[0047] Figure 1b It is a flowchart of the code file publishing method provided in the embodiment of the present application;

[0048] Figure 1c It is a display schematic diagram of a configuration page of a file publishing tool provided in an embodiment of the present application;

[0049] Figure 1d It is a schematic diagram of the process of publishing code files provided in an embodiment of the present application;

[0050] Figure 2a It is another flowchart of the code file publishing method provided in the embodiment of the present application;

[0051] Figure 2b It is a schematic diagram of the structure of a file publishing tool provided in an embodiment of the present application;

[0052] Figure 2c It is a schematic diagram of a process of calling a file publishing tool to publish a code file provided in an embodiment of the present application;

[0053] Figure 3a It is a structural diagram of a code file publishing device provided in an embodiment of the present application;

[0054] Figure 3b is another structural schematic diagram of the code file publishing device provided in an embodiment of the present application;

[0055] Figure 3c is another structural schematic diagram of the code file publishing device provided in an embodiment of the present application;

[0056] Figure 4 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0058] The embodiments of the present application provide a code file publishing method, apparatus, computer equipment, and computer-readable storage medium. Specifically, the code file publishing method of the embodiments of the present application can be executed by a computer device, wherein the computer device can be a terminal or a server and the terminal can be a mobile phone, a tablet computer, a laptop computer, a smart TV, a wearable smart device, a personal computer (PC, Personal Computer) such as a desktop computer and the like. Among them, the terminal can include a client, which can be a code file publishing client, etc.; the server can be a single server or a server cluster composed of multiple servers.

[0059] For example, see Figure 1a The code file publishing system provided in the embodiment of the present application includes a terminal 10 and a server 11, etc. The terminal 10 and the server 11 are connected via a network, for example, via a wired or wireless network connection.

[0060] Among them, when the terminal 10 detects a calling instruction for the file publishing tool, the terminal 10 can send the calling instruction to the server. The server calls the file publishing tool according to the calling instruction, and triggers the reception of the code file publishing instruction acting on the file publishing tool, so that the server can obtain the target code file to be released according to the code file publishing instruction, and publish the target code file submitted to the code hosting platform through the system interface of different file publishing systems connected to the file publishing tool.

[0061] Among them, the server 11 can receive a code file publishing instruction acting on a file publishing tool; obtain the target code file to be released according to the code file publishing instruction; submit the target code file to the code hosting platform; obtain the system interface set connected to the file publishing tool, the system interface set includes system interfaces of multiple different file publishing systems; call the corresponding target file publishing system through the target system interface in the system interface set to release the target code file in the code hosting platform.

[0062] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0063] The embodiment of the present application provides a code file publishing method, which can be executed by a terminal or a server, or by a terminal and a server together; the embodiment of the present application takes the code file publishing method executed by a server as an example for explanation.

[0064] like Figure 1b As shown, the specific process of the code file publishing method can be as follows:

[0065] 101. Receive a code file publishing instruction acting on a file publishing tool.

[0066] The file publishing tool is a tool that can be used to publish code files. The tool can be a command line tool, for example, a tool that can be called using a command line. The file publishing tool can assist developers in quickly deploying code files (such as programs), for example, the code files generated by local compilation and building can be published online through the file publishing tool.

[0067] In the embodiment of the present application, the file publishing tool can be a tool used based on the operating environment, for example, it can be a command line tool based on the Node.js operating environment. The premise of using the file publishing tool is that the user needs to install the operating environment such as Node.js on a local computer device such as a terminal, and install the code file publishing client corresponding to the file publishing tool.

[0068] Among them, Node.js is a JavaScript runtime environment based on the Chrome V8 engine. It is lightweight and efficient due to its event-driven, non-blocking I / O model. It can be used to easily build fast-response and easily scalable network applications.

[0069] The code file publishing instruction may be triggered by the user through the terminal to which the user belongs. For example, the user may directly trigger the code file publishing instruction when calling the file publishing tool, or the user may trigger the code file publishing instruction by inputting a corresponding command line in the tool when calling the file publishing tool, etc. When the terminal detects the code file publishing instruction acting on the file publishing tool, the code file publishing instruction is sent to the server, and the server receives the code file publishing instruction.

[0070] The file publishing tool may be called in a variety of system environments, such as Windows, Linux, Mac, etc. Since the file publishing tool may be a command line tool, the file publishing tool may be called by inputting a call instruction corresponding to the tool (such as a "pub idc" instruction) in a command line program of the operating system, wherein the command line program may include cmd (command prompt) in Windows, shell (i.e., bash, command interpreter) in Linux, etc.

[0071] In one embodiment, since the file publishing tool can support calling in the form of command lines, in order to improve the efficiency and accuracy of code file publishing, the file publishing tool can be called during the continuous integration and deployment process of the code file to publish the code file. For example, during the continuous integration and deployment process, the instruction code in the continuous integration and deployment platform can be detected. When a calling instruction for the file publishing tool is detected, the publishing tool is called and the code file publishing instruction acting on the tool is triggered. Specifically, the step of "receiving the code file publishing instruction acting on the file publishing tool" may include:

[0072] Detect the instruction code in the continuous integration deployment platform;

[0073] When a calling instruction for a file publishing tool is detected, the file publishing tool is called, and the receiving of a code file publishing instruction acting on the file publishing tool is triggered.

[0074] Among them, the calling instructions in the instruction code can be written by the user on the code file such as the script file of the continuous integration deployment platform during the continuous integration and deployment of the code file, or can be automatically generated according to the prompt instruction, etc.

[0075] For example, the file publishing tool can be called by executing the "pub idc" command in the bash plug-in of the continuous integration deployment platform to publish the code files that need to be published.

[0076] 102. According to the code file publishing instruction, obtain the target code file to be released.

[0077] The code file may be generated by compiling and building by the user locally (ie, the code file publishing device), or may be obtained by receiving a code file sent by other devices such as other terminals, and so on.

[0078] The target code file is a code file that the user needs to publish, and the target code file may include one or more code files. The target code file may be a code file selected by the user and uploaded to the file publishing tool, or may be a code file specified by the user and pre-stored in the file publishing tool, etc.

[0079] When the server receives the code file publishing instruction acting on the file publishing tool, it obtains the target code file specified by the user and to be published according to the code file publishing instruction.

[0080] 103. Submit the target code file to the code hosting platform.

[0081] Among them, the code hosting platform is a platform that can provide code hosting services, wherein the code hosting services include services that provide functions such as code hosting, project management, and version control. There are many types of code hosting platforms. In order to improve the efficiency and accuracy of code file publishing, Github can be used as the code hosting platform in the embodiment of this application.

[0082] GitHub is a hosting platform for open source and private software projects. It is named GitHub because it only supports Git as the only repository format for hosting. Github is a distributed management system. If any collaborative device fails, it can be restored with any mirrored local repository afterwards. Because each extraction operation is actually a complete backup of the code repository. Furthermore, such systems can specify interactions with several different remote code repositories.

[0083] In one embodiment, before submitting the target code file to the code hosting platform, the file type of the target code file may be detected to obtain the file type of the target code file, and then the target code file and its corresponding file type may be submitted to the code hosting platform together. Specifically, the step of "submitting the target code file to the code hosting platform" may include:

[0084] Perform type detection on the target code file to obtain the file type of the target code file;

[0085] Submit the target code file and the file type of the target code file to the code hosting platform.

[0086] Among them, the file types of the target code file can be multiple, for example, the target code file can include static files, pre-release entry files, and formal entry files, etc. Among them, static files include pictures, and files referenced by web pages with file suffixes such as css (i.e., cascading style sheet type files) or js (JavaScript, i.e., scripting language files); pre-release entry files are code files that need to enter the pre-release entry for testing, wherein the pre-release entry is consistent with the production environment of the software, but the access entry is not open to the public, that is, the access address corresponding to the entry is not open to the public; formal entry files are code files released through the formal entry, wherein the formal entry is the formal access entry for the software to provide services to the outside world. Under normal circumstances, users can access the released software through the formal access entry, that is, they can access it through the address link open to the outside world.

[0087] Among them, the type detection of the target code file can be performed by detecting the target code file through a file publishing tool to obtain the file type of the target code file, or the user can classify the target code file to obtain the file type of each code file in the target code file, and then submit the target code file and the file type corresponding to the target code file to the code hosting platform.

[0088] 104. Obtain a system interface set to which the file publishing tool is connected, where the system interface set includes system interfaces of multiple different file publishing systems.

[0089] The file publishing system is a publishing platform system for publishing code files, that is, an integrated system that can publish code files (such as programs) to a specified environment, such as fit's op publishing system, eos publishing system, etc. The specified environment can be a development environment, test environment, production environment, and other program-related independent deployment environments.

[0090] In an embodiment of the present application, in order to cope with the situation where multiple file publishing systems are needed to publish code files, thereby improving the efficiency of publishing code files, the system interfaces of one or more different file publishing systems can be connected to a file publishing tool, and the code files can be published to various devices in a specified environment by obtaining the system interface to which the file publishing tool is connected and through the file publishing system corresponding to the system interface.

[0091] In one embodiment, there may be multiple methods for connecting the system interfaces of different file publishing systems to the file publishing tool. For example, the system interface may be connected to the business layer of the file publishing tool, and the system interface connected to the business layer may be called through the control layer of the file publishing tool. Specifically, the code file publishing method may further include:

[0092] Separate the control layer and business layer of the initial document publishing tool;

[0093] The system interfaces of multiple different file publishing systems are connected to the separated business layer to generate interface business corresponding to the system interface to obtain a file publishing tool.

[0094] Generally speaking, the web engineering structure mainly includes three layers, from bottom to top, namely the data layer (dao layer), business layer (service layer), and control layer (controller layer). Among them, the business layer is mainly responsible for the logical application design of the business module, and can call the interface of the data layer or the business layer itself to perform business processing; the control layer is responsible for the control of specific business module processes, and can call the interface of the business layer to control the business process.

[0095] In the embodiment of the present application, the control layer and the business layer of the initial file publishing tool are separated, and then the system interfaces of one or more different file publishing systems are connected to the separated business layer, and the interface business corresponding to each system interface is generated in the business layer, thereby obtaining the file publishing tool for publishing code files. Among them, the control layer of the file publishing tool can call the business layer to realize the decoupling of the code.

[0096] In one embodiment, when the file publishing tool needs to reconnect to a system interface of a new file publishing system, it is necessary to regenerate an interface service corresponding to the system interface in the service layer to facilitate the call of the control layer.

[0097] 105. Call the corresponding target file publishing system to publish the target code file in the code hosting platform through the target system interface in the system interface concentration.

[0098] There are many ways to publish the target code file. For example, the target interface business in the business layer can be called through the control layer in the file publishing tool, and then the target file publishing system corresponding to the target system interface can be called through the target system interface corresponding to the target interface business to publish the target code file submitted to the code hosting platform.

[0099] Specifically, the file publishing tool includes a separate control layer and a business layer, and the business layer includes an interface business corresponding to the system interface in the system interface set. The step of "calling the target code file in the corresponding target file publishing system publishing code hosting platform through the target system interface in the system interface set" may include:

[0100] Through the control layer, call the target interface business in the business layer;

[0101] Through the target system interface corresponding to the target interface business, the corresponding target file publishing system is called to publish the target code file in the code hosting platform.

[0102] In one embodiment, a target file publishing system required for publishing a target code file may be determined through a configuration file for publishing a code file. Specifically, before the step of "calling a corresponding target file publishing system through a target system interface in a system interface set to publish a target code file in a code hosting platform", the code file publishing method may further include:

[0103] Obtain a configuration file for publishing a code file, the configuration file including a publishing field;

[0104] The release field is parsed to obtain a target file release system required for releasing the target code file.

[0105] The configuration file may be created by a user or may be a file automatically generated according to a creation instruction, wherein the configuration file includes a release field, through which a user may specify a system identifier of a target file release system required for releasing a target code file.

[0106] In one embodiment, by parsing the release field, the system identifier contained in the field can be obtained, and according to the system identifier, it can be determined that the file release system corresponding to the system identifier is the target file release system required for releasing the target code file. Specifically, the step of "parsing the release field to obtain the target file release system required for releasing the target code file" may include:

[0107] Parsing the release field to obtain a system identifier;

[0108] According to the system identifier, it is determined that the file publishing system corresponding to the system identifier is the target file publishing system required for publishing the target code file.

[0109] For example, the publishing field in the configuration file is "publishType:["eos"]", which means that the target code file is published through the file publishing system eos. The publishing field can indicate the system identifiers corresponding to one or more target file publishing systems. For example, the publishing field is: "publishType:["eos", "op"]", which means that the target code file is published through the eos publishing system and the op publishing system. PublishType (publish type) is the name of the publishing field, which can be set and edited according to the needs of the actual application.

[0110] In one embodiment, based on the system interfaces of multiple different file publishing systems connected to the file publishing tool, users can flexibly select and configure one or more file publishing systems to be used as needed, that is, it can support rapid switching and migration of services between different file publishing systems. Specifically, the step of "obtaining a configuration file for publishing code files" may include:

[0111] Displays the configuration page of the file publishing tool, which includes the publishing fields of the initial configuration file;

[0112] Based on the user's editing operation on the publishing field in the initial configuration file, a configuration file for publishing the code file is obtained.

[0113] For example, see Figure 1c , where the configuration page includes a configuration file, namely, the publish.config.js file, which includes a publishing field, namely, the "publishType:["eos"]" field. By editing the field, for example, the array containing the system identifier in the field can be added, modified, and deleted, and the target file publishing system required to publish the target code file can be flexibly configured.

[0114] In one embodiment, the release order of each code file when releasing the target code file can be determined based on the file type of the target code file obtained in step 103, and then, according to the release order, the target file release system corresponding to the target system interface in the system interface set is called to release the target code file submitted to the code hosting platform. Specifically, the step of "calling the corresponding target file release system to release the target code file in the code hosting service through the target system interface in the system interface set" may include:

[0115] Determine the release order of the object code files based on the file types of the object code files in the code hosting service;

[0116] Through the target system interface and release sequence in the system interface set, the target code file in the code hosting service of the corresponding target file release system is called.

[0117] The release order can be: static files in the target code file will be released directly, that is, released through the official entrance; pre-release entrance files will first enter the pre-release entrance for testing, and then enter the official entrance for release after passing the test; the official entrance files can be directly released through the official entrance. The release order can be set according to the needs of the actual application.

[0118] In an embodiment of the present application, a file publishing tool and system interfaces of different file publishing systems to which the file publishing tool is connected can be used to publish the target code file to various devices in a specified environment (such as a development environment, a test environment, a production environment, etc.) using a target file publishing system corresponding to the target system interface.

[0119] In one embodiment, the code file publishing method provided in the embodiment of the present application can be roughly referred to in Figure 1d , wherein the initiator calls the file publishing tool service corresponding to the file publishing tool, and then submits the acquired code file to be published to the code hosting platform (i.e., the code hosting service). At the same time, the code hosting service sends a "submission successful" message to the file publishing tool. After receiving the message, the file publishing tool calls the system interface of the file publishing system to which it is connected. After receiving the call instruction, the publishing platform service of the file publishing system pulls the code file submitted to the code hosting service. After the pull is successful, the pulled code file is published and a "publishing successful" message is returned to the file publishing tool. The file publishing tool returns the result of the successful publishing to the initiator.

[0120] As can be seen from the above, the embodiment of the present application can receive a code file publishing instruction acting on a file publishing tool; obtain the target code file to be published according to the code file publishing instruction; submit the target code file to the code hosting platform; obtain the system interface set connected to the file publishing tool, which system interface set includes system interfaces of multiple different file publishing systems; through the target system interface in the system interface set, call the corresponding target file publishing system to publish the target code file in the code hosting platform. Since the scheme can publish the target code file submitted to the code hosting platform based on the system interfaces of multiple different file publishing systems connected to the file publishing tool, and through the target file publishing system corresponding to the target system interface in the connected system interface set, it avoids the cumbersome operation of developing different system interfaces separately due to the differences between different system interfaces when multiple different file publishing systems are needed to publish the target code file, thereby greatly improving the efficiency of code file publishing.

[0121] The method described in the above embodiment is further described in detail below with examples.

[0122] In this embodiment, a code file publishing method is provided. The method can be executed by a terminal or a server, or can be executed by a terminal and a server together. This embodiment is described by taking the method executed by a server as an example.

[0123] like Figure 2a As shown, the code file publishing method, the specific process can be as follows:

[0124] 201. The server receives a code file publishing instruction acting on a file publishing tool.

[0125] Among them, the code file publishing instruction can be triggered by the user through the terminal to which the user belongs. For example, the user can directly trigger the code file publishing instruction when calling the file publishing tool, or when calling the file publishing tool, the user can trigger the code file publishing instruction by entering the corresponding command line in the tool, and so on.

[0126] When the terminal detects the code file publishing instruction acting on the file publishing tool, the terminal sends the code file publishing instruction to the server, and the server receives the code file publishing instruction.

[0127] The file publishing tool may be called in a variety of system environments, such as Windows, Linux, Mac, etc. Since the file publishing tool may be a command line tool, the file publishing tool may be called by inputting a call instruction corresponding to the tool (such as a "pub idc" instruction) in a command line program of the operating system, wherein the command line program may include cmd (command prompt) in Windows, shell (i.e., bash, command interpreter) in Linux, etc.

[0128] In one embodiment, since the file publishing tool can support calling in the form of command lines, in order to improve the efficiency and accuracy of code file publishing, the file publishing tool can be called during the continuous integration and deployment process of the code file to publish the code file. For example, during the continuous integration and deployment process, the instruction code in the continuous integration and deployment platform can be detected, and when a calling instruction for the file publishing tool is detected, the publishing tool is called and the code file publishing instruction acting on the tool is triggered.

[0129] The calling instruction in the instruction code may be written by the user on a code file such as a script file of a continuous integration deployment platform during the continuous integration deployment of the code file, or may be automatically generated according to a prompt instruction, etc. For example, the file publishing tool may be called by executing a "pub idc" command in a bash plug-in of the continuous integration deployment platform to publish the code file to be published.

[0130] 202. The server obtains the target code file to be released according to the code file release instruction.

[0131] The target code file is a code file that the user needs to publish, and the target code file may include one or more code files. The target code file may be compiled and constructed by the user locally (i.e., the code file publishing device), or may be obtained by receiving a code file sent by other devices such as other terminals, etc.

[0132] The target code file to be published may be a code file selected by the user and uploaded to the file publishing tool, or may be a code file specified by the user and pre-saved in the file publishing tool, and so on.

[0133] When the server receives the code file publishing instruction acting on the file publishing tool, it obtains the target code file specified by the user and to be published according to the code file publishing instruction.

[0134] 203. The server submits the target code file to the code hosting platform.

[0135] For example, when the server obtains the target code file to be released, it can first detect the file type of the target code file to obtain the file type corresponding to each code file in the target code file, and then submit the target code file and the file type corresponding to each code file in the target code file to the code hosting platform.

[0136] Among them, the file types of the target code file can be multiple, for example, the target code file can include static files, pre-release entry files, and formal entry files, etc. Among them, static files include pictures, and files referenced by web pages with file suffixes such as css (i.e., cascading style sheet type files) or js (JavaScript, i.e., scripting language files); pre-release entry files are code files that need to enter the pre-release entry for testing, wherein the pre-release entry is consistent with the production environment of the software, but the access entry is not open to the public, that is, the access address corresponding to the entry is not open to the public; formal entry files are code files released through the formal entry, wherein the formal entry is the formal access entry for the software to provide services to the outside world. Under normal circumstances, users can access the released software through the formal access entry, that is, they can access it through the address link open to the outside world.

[0137] Among them, the type detection of the target code file can be performed by detecting the target code file through a file publishing tool to obtain the file type of the target code file, or the user can classify each code file in the target code file to obtain the file type of each code file in the target code file, and then submit the target code file and the file type corresponding to each code file in the target code file to the code hosting platform.

[0138] 204. The server obtains a system interface set to which the file publishing tool is connected. The system interface set includes system interfaces of multiple different file publishing systems.

[0139] The file publishing system is a publishing platform system for publishing code files, that is, an integrated system that can publish code files (such as programs) to a specified environment, such as fit's op publishing system, eos publishing system, etc. The specified environment can be a development environment, test environment, production environment, and other program-related independent deployment environments.

[0140] In an embodiment of the present application, in order to cope with the situation where multiple file publishing systems are needed to publish code files, thereby improving the efficiency of publishing code files, the server can connect the system interfaces of one or more different file publishing systems to the file publishing tool, and publish the code files to various devices in the specified environment by obtaining the system interface connected to the file publishing tool and through the file publishing system corresponding to the system interface.

[0141] In one embodiment, there are multiple methods for connecting the system interfaces of different file publishing systems to the file publishing tool. For example, the control layer and the business layer of the initial file publishing tool can be separated, and then the system interfaces of one or more different file publishing systems are connected to the separated business layer, and the interface business corresponding to each system interface is generated in the business layer, thereby obtaining the file publishing tool for publishing code files. Among them, the control layer of the file publishing tool can call the business layer to realize code decoupling.

[0142] For example, see Figure 2b Through the control layer of the file publishing tool, the interface services corresponding to the system interfaces of multiple file publishing systems connected to the business layer can be called, such as the interface services of the eos publishing system, the interface services of the op publishing system, and the interface services of other publishing systems, etc.

[0143] In one embodiment, when the file publishing tool needs to reconnect to a system interface of a new file publishing system, it is necessary to regenerate an interface service corresponding to the system interface in the service layer to facilitate the call of the control layer.

[0144] 205. The server calls the corresponding target file publishing system to publish the target code file in the code hosting platform through the target system interface in the system interface concentration.

[0145] There are many ways to publish the target code file. For example, the target interface business in the business layer can be called through the control layer in the file publishing tool, and then the target file publishing system corresponding to the target system interface can be called through the target system interface corresponding to the target interface business to publish the target code file submitted to the code hosting platform.

[0146] Specifically, the file publishing tool includes a separate control layer and a business layer, and the business layer includes an interface business corresponding to the system interface in the system interface set. The step of "calling the target code file in the corresponding target file publishing system publishing code hosting platform through the target system interface in the system interface set" may include:

[0147] Through the control layer, call the target interface business in the business layer;

[0148] Through the target system interface corresponding to the target interface business, the corresponding target file publishing system is called to publish the target code file in the code hosting platform.

[0149] In one embodiment, a target file publishing system required for publishing a target code file may be determined through a configuration file for publishing a code file. Specifically, before the step of "calling a corresponding target file publishing system through a target system interface in a system interface set to publish a target code file in a code hosting platform", the code file publishing method may further include:

[0150] Obtain a configuration file for publishing a code file, the configuration file including a publishing field;

[0151] The release field is parsed to obtain a target file release system required for releasing the target code file.

[0152] The configuration file may be created by a user or may be a file automatically generated according to a creation instruction, wherein the configuration file includes a release field, through which a user may specify a system identifier of a target file release system required for releasing a target code file.

[0153] In one embodiment, by parsing the release field, the system identifier contained in the field can be obtained, and according to the system identifier, it can be determined that the file release system corresponding to the system identifier is the target file release system required for releasing the target code file. Specifically, the step of "parsing the release field to obtain the target file release system required for releasing the target code file" may include:

[0154] Parsing the release field to obtain a system identifier;

[0155] According to the system identifier, it is determined that the file publishing system corresponding to the system identifier is the target file publishing system required for publishing the target code file.

[0156] For example, the publishing field in the configuration file is "publishType:["eos"]", which means that the target code file is published through the file publishing system eos. The publishing field can indicate the system identifiers corresponding to one or more target file publishing systems. For example, the publishing field is: "publishType:["op"]", which means that the target code file is published through the op publishing system. PublishType (publish type) is the name of the publishing field, which can be set and edited according to the needs of the actual application.

[0157] In one embodiment, based on the system interfaces of multiple different file publishing systems connected to the file publishing tool, users can flexibly select and configure one or more file publishing systems to be used as needed, that is, it can support rapid switching and migration of services between different file publishing systems. Specifically, the step of "obtaining a configuration file for publishing code files" may include:

[0158] Displays the configuration page of the file publishing tool, which includes the publishing fields of the initial configuration file;

[0159] Based on the user's editing operation on the publishing field in the initial configuration file, a configuration file for publishing the code file is obtained.

[0160] For example, see Figure 1c , where the configuration page includes a configuration file, namely, the publish.config.js file, which includes a publishing field, namely, the "publishType:["eos"]" field. By editing this field, the target file publishing system required to publish the target code file can be flexibly configured. For example, the system identifier can be added, modified, and deleted by editing the array containing the system identifier in this field.

[0161] In one embodiment, the release order of each code file when releasing the target code file can be determined based on the file type of the target code file obtained in step 103, and then, according to the release order, the target file release system corresponding to the target system interface in the system interface set is called to release the target code file submitted to the code hosting platform. Specifically, the step of "calling the corresponding target file release system to release the target code file in the code hosting service through the target system interface in the system interface set" may include:

[0162] Determine the release order of the object code files based on the file types of the object code files in the code hosting service;

[0163] Through the target system interface and release sequence in the system interface set, the target code file in the code hosting service of the corresponding target file release system is called.

[0164] The release order can be: static files in the target code file will be released directly, that is, released through the official entrance; pre-release entrance files will first enter the pre-release entrance for testing, and then enter the official entrance for release after passing the test; the official entrance files can be directly released through the official entrance. The release order can be set according to the needs of the actual application.

[0165] In the embodiment of the present application, the target code file can be published to each device in a specified environment (such as a development environment, a test environment, a production environment, etc.) by using a target file publishing system corresponding to the target system interface through a file publishing tool and the system interfaces of different file publishing systems to which the file publishing tool is connected. Figure 2c By calling the file publishing tool in different system environments and during continuous integration and deployment, the file publishing tool submits the target code files to be released to a unified code repository (i.e., code hosting platform), and then pulls the target code files through the file publishing system corresponding to the system interface, such as the op publishing system and the eos publishing system, according to the system interface connected to the file publishing tool. The target code files are published to various devices in the specified environment, such as BETA machines (public beta devices), IDC machines (Internet data center devices), and GAMMA machines (pre-release test devices), etc.

[0166] As can be seen from the above, the embodiment of the present application can receive a code file publishing instruction acting on a file publishing tool; obtain the target code file to be published according to the code file publishing instruction; submit the target code file to the code hosting platform; obtain the system interface set connected to the file publishing tool, which system interface set includes system interfaces of multiple different file publishing systems; through the target system interface in the system interface set, call the corresponding target file publishing system to publish the target code file in the code hosting platform. Since the scheme can publish the target code file submitted to the code hosting platform based on the system interfaces of multiple different file publishing systems connected to the file publishing tool, and through the target file publishing system corresponding to the target system interface in the connected system interface set, it avoids the cumbersome operation of developing different system interfaces separately due to the differences between different system interfaces when multiple different file publishing systems are needed to publish the target code file, thereby greatly improving the efficiency of code file publishing.

[0167] To facilitate better implementation of the above method, the embodiment of the present application also provides a code file publishing device.

[0168] For example, Figure 3a As shown, the code file publishing device may include a receiving unit 301, a file obtaining unit 302, a submitting unit 303, an interface obtaining unit 304, and a calling unit 305, as follows:

[0169] A receiving unit 301 is used to receive a code file publishing instruction acting on a file publishing tool;

[0170] A file acquisition unit 302, used to acquire a target code file to be released according to the code file release instruction;

[0171] A submitting unit 303 is used to submit the target code file to a code hosting platform;

[0172] An interface acquisition unit 304 is used to acquire a system interface set to which the file publishing tool is connected, wherein the system interface set includes system interfaces of multiple different file publishing systems;

[0173] The calling unit 305 is used to call the corresponding target file publishing system to publish the target code file in the code hosting platform through the target system interface in the system interface set.

[0174] In some embodiments, the file publishing tool includes a separate control layer and a business layer, and the business layer includes an interface business corresponding to the system interface in the system interface set;

[0175] The calling unit 305 is used to:

[0176] Retrieving the target interface service in the service layer through the control layer;

[0177] Through the target system interface corresponding to the target interface service, the corresponding target file publishing system is called to publish the target code file in the code hosting platform.

[0178] In some embodiments, see Figure 3b The code file publishing device further includes an access unit 306, which is used to:

[0179] Separate the control layer and business layer of the initial document publishing tool;

[0180] The system interfaces of multiple different file publishing systems are connected to the separated business layer to generate interface businesses corresponding to the system interfaces and obtain a file publishing tool.

[0181] In some embodiments, see Figure 3cThe code file publishing device further includes a parsing unit 307, the parsing unit including:

[0182] An acquisition subunit 3071 is used to acquire a configuration file for publishing a code file, wherein the configuration file includes a publishing field;

[0183] The parsing subunit 3072 is used to parse the release field to obtain the target file release system required for releasing the target code file.

[0184] In some embodiments, the parsing subunit 3072 is used to:

[0185] Parsing the release field to obtain a system identifier;

[0186] According to the system identifier, it is determined that the file publishing system corresponding to the system identifier is the target file publishing system required to publish the target code file.

[0187] In some embodiments, the acquisition subunit 3071 is used to:

[0188] Displaying a configuration page of a file publishing tool, wherein the configuration page includes publishing fields of an initial configuration file;

[0189] Based on the user's editing operation on the publishing field in the initial configuration file, a configuration file for publishing the code file is obtained.

[0190] In one embodiment, the calling unit 305 is used to:

[0191] Determining a release order of the target code files based on the file types of the target code files in the code hosting platform;

[0192] Through the target system interface in the system interface set and the release sequence, the corresponding target file release system is called to release the target code file in the code hosting platform.

[0193] In one embodiment, the submitting unit 303 is used to:

[0194] Performing type detection on the target code file to obtain the file type of the target code file;

[0195] Submit the target code file and the file type of the target code file to the code hosting platform.

[0196] In one embodiment, the receiving unit 301 is used to:

[0197] Detect the instruction code in the continuous integration deployment platform;

[0198] When a calling instruction for a file publishing tool is detected, the file publishing tool is called, and the receiving of a code file publishing instruction acting on the file publishing tool is triggered.

[0199] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.

[0200] As can be seen from the above, the game data query device of the embodiment of the present application can receive the code file publishing instruction acting on the file publishing tool through the receiving unit 301; the file acquisition unit 302 acquires the target code file to be released according to the code file publishing instruction; the submission unit 303 submits the target code file to the code hosting platform; the interface acquisition unit 304 acquires the system interface set connected to the file publishing tool, and the system interface set includes the system interfaces of multiple different file publishing systems; the calling unit 305 calls the corresponding target file publishing system through the target system interface in the system interface set to release the target code file in the code hosting platform. Since the scheme can release the target code file of the code hosting platform through the target file publishing system corresponding to the target system interface based on the system interfaces of multiple different file publishing systems connected to the file publishing tool, it avoids the tedious operation of separately developing each system interface due to the differences between the system interfaces when multiple different file publishing systems are needed to release the target code file, thereby greatly improving the efficiency of code file release.

[0201] The present application also provides a computer device, such as Figure 4 As shown, it shows a schematic diagram of the structure of the computer device involved in the embodiment of the present application, specifically:

[0202] The computer device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Figure 4 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:

[0203] The processor 401 is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, the processor 401 performs various functions of the computer device and processes data. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0204] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0205] The computer device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 403 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0206] The computer device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0207] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the computer device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402, thereby realizing various functions, as follows:

[0208] Receive a code file publishing instruction acting on a file publishing tool; obtain a target code file to be released according to the code file publishing instruction; submit the target code file to a code hosting platform; obtain a system interface set to which the file publishing tool is connected, the system interface set including system interfaces of multiple different file publishing systems; call a corresponding target file publishing system through a target system interface in the system interface set to release the target code file in the code hosting platform.

[0209] For details of the above operations, please refer to the previous embodiments, which will not be described in detail here.

[0210] As can be seen from the above, the computer device of the embodiment of the present application can receive the code file publishing instruction acting on the file publishing tool; according to the code file publishing instruction, obtain the target code file to be published; submit the target code file to the code hosting platform; obtain the system interface set connected to the file publishing tool, which system interface set includes system interfaces of multiple different file publishing systems; through the target system interface in the system interface set, call the corresponding target file publishing system to publish the target code file in the code hosting platform. Since the scheme can publish the target code file of the code hosting platform through the target file publishing system corresponding to the target system interface based on the system interfaces of multiple different file publishing systems connected to the file publishing tool, it avoids the tedious operation of separately developing each system interface due to the differences between the system interfaces when multiple different file publishing systems are needed to publish the target code file, thereby greatly improving the efficiency of code file publishing.

[0211] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0212] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program can be loaded by a processor to execute the steps in any code file publishing method provided in the embodiment of the present application. For example, the computer program can execute the following steps:

[0213] Receive a code file publishing instruction acting on a file publishing tool; obtain a target code file to be released according to the code file publishing instruction; submit the target code file to a code hosting platform; obtain a system interface set to which the file publishing tool is connected, the system interface set including system interfaces of multiple different file publishing systems; call a corresponding target file publishing system through a target system interface in the system interface set to release the target code file in the code hosting platform.

[0214] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0215] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0216] Since the instructions stored in the computer-readable storage medium can execute the steps in any code file publishing method provided in the embodiments of the present application, the beneficial effects that can be achieved by any code file publishing method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0217] The above is a detailed introduction to a code file publishing method, device, computer equipment and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A code file publishing method, characterized in that: include: Receiving a code file publishing instruction acting on a file publishing tool; According to the code file publishing instruction, obtain the target code file to be published; Submitting the target code file to the code hosting platform; Acquire a system interface set to which the file publishing tool is connected, wherein the system interface set includes system interfaces of multiple different file publishing systems, wherein the system interfaces are connected to a business layer of the file publishing tool, and the file publishing system is an integrated system for publishing code files to a specified environment, wherein the specified environment includes a development environment, a test environment, and a production environment; The control layer of the file publishing tool calls the target system interface in the business layer, so as to call the corresponding target file publishing system through the target system interface to publish the target code file in the code hosting platform; Submitting the target code file to the code hosting platform includes: Performing type detection on the target code file to obtain the file type of the target code file; Submitting the target code file and the file type of the target code file to the code hosting platform; The calling of a corresponding target file publishing system through the target system interface to publish the target code file in the code hosting platform includes: Based on the file type of the target code file in the code hosting platform, the release order of the target code file is determined, and the release order includes: static files in the target code file are released through the official entrance; pre-release entry files in the target code file first enter the pre-release entrance for testing, and then enter the official entrance for release after passing the test; the official entrance files in the target code file are released through the official entrance; Through the target system interface in the system interface set and the release sequence, the corresponding target file release system is called to release the target code file in the code hosting platform.

2. The method according to claim 1, characterized in that The file publishing tool includes a separate control layer and a business layer, and the business layer includes an interface business corresponding to the system interface in the system interface set; The method of calling a corresponding target file publishing system to publish the target code file in the code hosting platform through the target system interface in the system interface set includes: Retrieving the target interface service in the service layer through the control layer; Through the target system interface corresponding to the target interface service, the corresponding target file publishing system is called to publish the target code file in the code hosting platform.

3. The method according to claim 2, characterized in that The method further comprises: Separate the control layer and business layer of the initial document publishing tool; The system interfaces of multiple different file publishing systems are connected to the separated business layer to generate interface businesses corresponding to the system interfaces and obtain a file publishing tool.

4. The method according to claim 1, characterized in that Before calling the corresponding target file publishing system to publish the target code file in the code hosting platform through the target system interface in the system interface set, the method further includes: Obtain a configuration file for publishing a code file, wherein the configuration file includes a publishing field; The release field is parsed to obtain a target file release system required for releasing the target code file.

5. The method according to claim 4, characterized in that The parsing of the release field to obtain a target file release system required for releasing the target code file includes: Parsing the release field to obtain a system identifier; According to the system identifier, it is determined that the file publishing system corresponding to the system identifier is the target file publishing system required to publish the target code file.

6. The method according to claim 4, characterized in that The step of obtaining a configuration file for publishing a code file includes: Displaying a configuration page of a file publishing tool, wherein the configuration page includes publishing fields of an initial configuration file; Based on the user's editing operation on the publishing field in the initial configuration file, a configuration file for publishing the code file is obtained.

7. The method according to claim 1, characterized in that The receiving of a code file publishing instruction acting on a file publishing tool includes: Detect the instruction code in the continuous integration deployment platform; When a calling instruction for a file publishing tool is detected, the file publishing tool is called, and the receiving of a code file publishing instruction acting on the file publishing tool is triggered.

8. A code file publishing device, characterized in that: include: A receiving unit, used for receiving a code file publishing instruction acting on a file publishing tool; A file acquisition unit, used to acquire a target code file to be released according to the code file release instruction; A submitting unit, used to submit the target code file to the code hosting platform, including: performing type detection on the target code file to obtain the file type of the target code file; submitting the target code file and the file type of the target code file to the code hosting platform; An interface acquisition unit, used to acquire a system interface set to which the file publishing tool is connected, wherein the system interface set includes system interfaces of multiple different file publishing systems, and the system interfaces are connected to the business layer of the file publishing tool. The file publishing system is an integrated system for publishing code text to a specified environment, and the specified environment includes a development environment, a test environment, and a production environment; A calling unit is used to call the target system interface in the business layer through the control layer of the file publishing tool, so as to call the corresponding target file publishing system through the target system interface to publish the target code file in the code hosting platform, including: determining the publishing order of the target code file based on the file type of the target code file in the code hosting platform; calling the corresponding target file publishing system to publish the target code file in the code hosting platform through the target system interface in the system interface concentration and the publishing order, and the publishing order includes: static files in the target code file are published through the formal entrance; pre-release entry files in the target code file first enter the pre-release entrance for testing, and then enter the formal entrance for publishing after the test passes; formal entry files in the target code file are published through the formal entrance.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps in the code file publishing method described in any one of claims 1 to 7 of the present application are implemented.

10. A computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the steps in the code file publishing method described in any one of claims 1 to 7 of the present application are implemented.

Citation Information

Patent Citations

  • Standardized release method, release device and release system for application program

    CN109725910A

  • Method and system for automatically packaging and publishing React Native applications

    CN110780917A