Commit 8e2ed464 authored by Soomin Lee's avatar Soomin Lee Committed by Carola Nitz

DeployVLCKit: Add podspec versioning

Signed-off-by: default avatarCarola Nitz <nitz.carola@googlemail.com>
parent bb9953bf
......@@ -189,6 +189,15 @@ bumpPodSpec()
`sed -i '' 's#.*sha256.*#'" ${podSHA}"'#' $1`
}
gitCommit()
{
local podspec=$1
git add $podspec
git commit -m "Update podspecs"
}
podDeploy()
{
local podspec=""
......@@ -196,7 +205,6 @@ podDeploy()
if [ "$DEPLOY_MOBILEVLCKIT" = "yes" ]; then
podspec="MobileVLCKit.podspec"
else
#replace by the real TVVLCKit podspec
podspec="TVVLCKit.podspec"
fi
......@@ -205,8 +213,9 @@ podDeploy()
bumpPodSpec $podspec
log "Info" "Starting pod spec lint..."
pod spec lint $podspec
log "Info" "Starting pod trunk push!"
#pod trunk push $podspec
log "Info" "Starting pod trunk push..."
pod trunk push $podspec
gitCommit $podspec
spopd #Packaging/podspecs
}
......
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