Skip to content

Commit

Permalink
chore(sdk.bump.*): add support for non-semver versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pshoniuk committed Nov 15, 2023
1 parent 1c25c9f commit 01dc225
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/sdk.conf.android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
export PROJECT_ROOT="$SCRIPT_DIR/.."
export GITHUB_REPO='Giphy/giphy-android-sdk'
export GRADLE_FILE='android/build.gradle'
export GRADLE_FILE_SDK_VERSION_REGEX="(implementation[[:space:]]+'com.giphy.sdk:ui:)([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)(')"
export GRADLE_FILE_SDK_VERSION_REGEX="(implementation[[:space:]]+'com.giphy.sdk:ui:)([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*)(')"
2 changes: 1 addition & 1 deletion scripts/sdk.conf.ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
export PROJECT_ROOT="$SCRIPT_DIR/.."
export GITHUB_REPO='Giphy/giphy-ios-sdk'
export PODSPEC='giphy-react-native-sdk.podspec'
export PODSPEC_SDK_VERSION_REGEX="(dependency[[:space:]]+\"Giphy\"[[:space:]]*,[[:space:]]*\"[[:space:]]*(~>)?[[:space:]]*)([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)(\")"
export PODSPEC_SDK_VERSION_REGEX="(dependency[[:space:]]+\"Giphy\"[[:space:]]*,[[:space:]]*\"[[:space:]]*(~>)?[[:space:]]*)([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*)(\")"

0 comments on commit 01dc225

Please sign in to comment.