Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Add info to bump-version
Browse files Browse the repository at this point in the history
  • Loading branch information
achhabra2 committed Jun 6, 2022
1 parent ddc1090 commit d2597c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/bump-version.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/bin/bash

echo $PWD
echo "Bumping version from ${1} to ${2}"
echo "Replacing version in Info.plist"
sed -i '' s/$1/$2/g ./build/darwin/Info.plist
echo "Replacing version in selfupdate.go"
sed -i '' s/$1/$2/g ./internal/update/selfupdate.go
echo "Replacing version in appxmanifest.xml"
sed -i '' s/$1\.0/$2\.0/g ./build/windows/appxmanifest.xml
echo "Replacing version in RiftShare.exe.manifest"
sed -i '' s/$1\.0/$2\.0/g ./build/windows/RiftShare.exe.manifest

0 comments on commit d2597c5

Please sign in to comment.