Fastlane cleanup and github auth

This commit is contained in:
Jonathan Cardasis 2020-03-14 12:10:46 -04:00
parent 0b7e88c3e9
commit 9a3e08e0f7
4 changed files with 10 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
.DS_Store
## Build generated
build/

View File

@ -1,6 +1,10 @@
language: objective-c
osx_image: xcode11.3
before_install: gem install bundler --version '2.0.1'
before_install:
- gem install bundler --version '2.0.1'
- git config --global user.email "travis@travis-ci.org"
- git config --global user.name "Travis CI"
- git remote set-url origin https://joncardasis:${GH_TOKEN}@github.com/joncardasis/ChromaColorpicker.git > /dev/null 2>&1
install:
- bundle install
jobs:

Binary file not shown.

View File

@ -25,7 +25,6 @@ end
def publish_podspec
podspec = ENV['PODSPEC']
version = version_bump_podspec(path: podspec, bump_type: "patch")
puts "HERE: #{version}"
commit(podspec, 'Updated Podspec version.')
push_to_git_remote(local_branch: git_branch)
tag_build(version)
@ -54,8 +53,8 @@ def commit(path, message)
ensure_git_branch(branch: git_branch)
message = "Fastfile: #{message}"
#git_commit(
# path: path,
# message: message
#)
git_commit(
path: path,
message: message
)
end