Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ VLCMediaLibraryKit:
extends: .release-job-base
script:
- ./buildVLCMediaLibraryKit.sh -vck
- ./createDeployable.sh -v ${CI_COMMIT_TAG}
- ./createDeployable.sh -v ${CI_COMMIT_TAG} -p
13 changes: 10 additions & 3 deletions createDeployable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -e
ZIP="zip"
VERSION=""
COMPRESSION_FORMAT="zip"
ENABLE_PODS_COMMANDS=no
STABLE_UPLOAD_URL="https://download.videolan.org/pub/cocoapods/prod/"

usage()
Expand All @@ -14,19 +15,23 @@ usage: $0 [options]

OPTIONS
-t Use tar
-p Enable Cocoapods related commands for release
-z Use zip(default)
-v Version
-h Help
EOF
}

while getopts "htzv:" OPTION
while getopts "hptzv:" OPTION
do
case $OPTION in
h)
usage
exit 1
;;
p)
ENABLE_PODS_COMMANDS=yes
;;
t)
COMPRESSION_FORMAT="tar.xz"
;;
Expand Down Expand Up @@ -199,5 +204,7 @@ fi

getVLCHashes
packageBuild $options
bumpPodspec $PODSPEC
gitCommit $PODSPEC
if [ "$ENABLE_PODS_COMMANDS" = "yes" ]; then
bumpPodspec $PODSPEC
gitCommit $PODSPEC
fi