Execution of an addon at the end of build process

Am trying to develop an ember add-on which needs to be operated after the ember build process has completed and its output file needs to be modified. How can I create an add-on which will be executed at the end to build process? Also I need to access the build output files. How can I access those files? It would be appreciated if the documents relating to the same is shared.

FYI, the kind of operation that the addon would do is find and replace some texts (like variable names)

Try look another addon that do what you want. Some addon execute the blueprints

Also see https://ember-cli.com/api/classes/Addon.html#method_postBuild

Example :