I am using Angular version on 8.1.0. .NET Core 3.1
I am trying to figure out how to setup an automated release and have it not overwrite my appconfig.production.json. I also am trying to setup a test site for QA purposes but not sure how I can make sure the correct config files are within the automated builds and releases as it just overwrites the files once it pushes the release.
Any help would be great. Thank you
3 Answer(s)
-
1
I think I may have found an answer to my own question. But I won't be able to verify it until much later. Incase anyone else has tried it let me know if this has worked for others.
Use the following task in the release pipeline to swap out variables in Json files. https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/file-transform?view=azure-devops
-
0
Hi @joe704la
Sorry for our late reply. I haven't used this but it seems like a valid approach.
-
0
This issue is closed because of no recent activity. Please create a new issue if you are still having this problem.