adds bump-version.sh script and bumps version to 0.0.2

parent c07bdd46
......@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'PrimedIO'
s.version = '0.0.1'
s.version = "0.0.2"
s.summary = 'IOS SDK for retrieving predictions from the Primed Backend, as well as track behavior'
s.description = <<-DESC
IOS SDK for retrieving predictions from the Primed Backend, as well as track behavior.
......
......@@ -61,7 +61,7 @@
@"did":did,
@"source":@"APP",
@"sdkId":@(2),
@"sdkVersion":@"2.1.0-beta12",
@"sdkVersion":@"0.0.2",
@"type":type.uppercaseString,
@"ipaddress":(externalIPAddress ?: @""),
@"eventObject":(eventObject ?: @{})
......
#!/usr/bin/env bash
if [ -z $1 ]; then echo "you must provide a version number"; exit 1; fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
gsed -i 's/s.version = ".*"/s.version = "'$1'"/g' $DIR/PrimedIO.podspec
gsed -i 's/@"sdkVersion":@".*"/@"sdkVersion":@"'$1'"/g' $DIR/PrimedIO/Classes/PrimedTracker.m
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment