Skip to content

Commit

Permalink
fix(no-ref): add version for build v4 (#1324)
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Nepipenko <[email protected]>
  • Loading branch information
NepipenkoIgor and igorn-mwp authored Mar 18, 2024
1 parent ec94a15 commit e8888e7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/scripts/replace_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ if [ $# -ne 1 ]; then
exit 1
fi

current_directory=$(pwd)
echo "Current directory: $current_directory"
ls $current_directory
# Assign arguments to variables
custom_string="$1"

# Perform the replacement and save to output file
sed -i "" "s/<%version%>/$custom_string/g" "angular.json"
sed "s/<%version%>/$custom_string/g" "angular.json" > "angular.json.tmp" && mv "angular.json.tmp" "angular.json"

echo "Template string replaced successfully. 🎉"

0 comments on commit e8888e7

Please sign in to comment.