We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b513309 commit 2652bf9Copy full SHA for 2652bf9
versioning-script.sh
@@ -1,5 +1,6 @@
1
#!/usr/bin/env bash
2
3
+# Files that contain our PSPDFKit version string.
4
file1="README.md"
5
file2="build.cake"
6
file3="PSPDFKit.iOS.UI/Properties/AssemblyInfo.cs"
@@ -10,6 +11,7 @@ read -p "Enter the search string: " search
10
11
12
read -p "Enter the replace string: " replace
13
14
+# Replace old PSPDFKit version string with new one for each file.
15
sed -i '' "s/$search/$replace/g" $file1
16
sed -i '' "s/$search/$replace/g" $file2
17
sed -i '' "s/$search/$replace/g" $file3
0 commit comments