Last active
July 23, 2020 15:34
-
-
Save ajomathew/75081a8569232109d416a071e5e03330 to your computer and use it in GitHub Desktop.
Find and Replace URL using sed in file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i 's/exports.pw.*/exports.pw= "'$(neo4jPassword)'"/g' $(Build.Repository.LocalPath)/MetadataManagementDashboard_1/app/static/js/JS_neo4j_settings.js | |
sed -i 's,http://localhost:7474/db,http://'$(acrURL)':7474/db,g' $(Build.Repository.LocalPath)/MetadataManagementDashboard_1/app/static/js/JS_neo4j_settings.js | |
sed -i 's,http://localhost:3000,http://'$(acrURL)':3000,g' $(Build.Repository.LocalPath)/MetadataManagementDashboard_1/app/static/js/JS_neo4j_settings.js | |
cat $(Build.Repository.LocalPath)/MetadataManagementDashboard_1/app/static/js/JS_neo4j_settings.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment