Skip to content

Commit 2652bf9

Browse files
committed
Add comments to script
1 parent b513309 commit 2652bf9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

versioning-script.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22

3+
# Files that contain our PSPDFKit version string.
34
file1="README.md"
45
file2="build.cake"
56
file3="PSPDFKit.iOS.UI/Properties/AssemblyInfo.cs"
@@ -10,6 +11,7 @@ read -p "Enter the search string: " search
1011

1112
read -p "Enter the replace string: " replace
1213

14+
# Replace old PSPDFKit version string with new one for each file.
1315
sed -i '' "s/$search/$replace/g" $file1
1416
sed -i '' "s/$search/$replace/g" $file2
1517
sed -i '' "s/$search/$replace/g" $file3

0 commit comments

Comments
 (0)