Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Commit

Permalink
Script for updating the user-agent header in recordings
Browse files Browse the repository at this point in the history
  • Loading branch information
neonichu committed Apr 30, 2015
1 parent 2c75257 commit b5ebdda
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Tests/Recordings/update_recordings.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

OLD_VERSION='0\.5\.0'
NEW_VERSION=0.5.1

for recording in *.recording
do
plutil -convert xml1 $recording
sed -i '' "s/$OLD_VERSION/$NEW_VERSION/" $recording
plutil -convert binary1 $recording
done

echo "Recordings updated to $NEW_VERSION"

0 comments on commit b5ebdda

Please sign in to comment.