Skip to content

Instantly share code, notes, and snippets.

🔥
🚒

César Pinto Castillo JagCesar

View GitHub Profile
@JagCesar
JagCesar / Tag each beta
Created Dec 14, 2018
Tag each uploaded beta with version and current build number. It's pretty sweet.
View Tag each beta
lane :beta do
ensure_git_status_clean
latestBuildNumber = bump_build_number
# Git tag must not already exist. If it does, check if we forgot to bump version or
# delete previous tag on remote.
git_tag_name = "v#{version}(#{latestBuildNumber})"
UI.crash!("Git tag #{git_tag_name} already exists.") if git_tag_exists(tag: git_tag_name)
build_app(scheme: "Volante")
@JagCesar
JagCesar / pushMe.sh
Created May 16, 2017
Push Me bash script
View pushMe.sh
#!/bin/sh
message="$1"
curl -so \
- --data "title=$message&token=[token-here]" \
https://pushmeapi.jagcesar.se
View .git-commit-template
#------------------------------------------------|
#----------------------------------------------------------------------|
@JagCesar
JagCesar / Fastfile
Created Dec 29, 2016
Cookin Fastfile
View Fastfile
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command
# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`
# If you want to automatically update fastlane if a new version is available:
# update_fastlane
@JagCesar
JagCesar / .travis.yml
Last active Apr 29, 2016 — forked from johanneswuerbach/.travis.yml
Deploy to Testflight using Travis-CI
View .travis.yml
language: objective-c
before_script:
- chmod +x scripts/travis/add-key.sh
- chmod +x scripts/travis/remove-key.sh
- chmod +x scripts/travis/testflight.sh
- ./scripts/travis/add-key.sh
script: xctool -workspace [Workspace name].xcworkspace -scheme '[Scheme to use]' -configuration [Build configuration name] -sdk iphoneos7.1 CONFIGURATION_BUILD_DIR='~/build/' build
after_success:
- ./scripts/travis/testflight.sh
after_script:
You can’t perform that action at this time.