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

Commit

Permalink
also update package.json (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoskow-ld authored Jan 25, 2020
1 parent 0dd4b7c commit 0ccd03e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ldrelease/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

sed -i.bak "s/\( *\)s\.version\( *\)=\( *\)\".*\"/\1s\.version\2=\3\"${LD_RELEASE_VERSION}\"/" ios/LaunchdarklyReactNativeClient.podspec
rm -f ios/LaunchdarklyReactNativeClient.podspec.bak

sed -i.bak "s/\( *\)\"version\"\( *\):\( *\)\".*\"/\1\"version\"\2:\3\"${LD_RELEASE_VERSION}\"/" package.json
rm -f package.json.bak

0 comments on commit 0ccd03e

Please sign in to comment.