This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Fastlane | |
module Actions | |
module SharedValues | |
# S3_FILE_OUTPUT_PATH = :S3_FILE_OUTPUT_PATH | |
end | |
# To share this integration with the other fastlane users: | |
# - Fork https://github.com/KrauseFx/fastlane | |
# - Clone the forked repository | |
# - Move this integration into lib/fastlane/actions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fastlane_version "1.57.0" | |
require 'fileutils' | |
default_platform :ios | |
platform :ios do | |
desc "Increment framework version" | |
private_lane :increment_framework_version do |lane| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_relative "../helper/ht_helper" | |
module Fastlane | |
module Actions | |
module SharedValues | |
HT_UPDATE_VERSION_NUMBER_VALUE = :HT_UPDATE_VERSION_NUMBER_VALUE | |
end | |
class HtUpdateVersionNumberAction < Action | |
def self.run(params) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_relative "../helper/ht_helper" | |
module Fastlane | |
module Actions | |
module SharedValues | |
HT_UPDATE_VERSION_NUMBER_VALUE = :HT_UPDATE_VERSION_NUMBER_VALUE | |
end | |
class HtUpdateVersionNumberAction < Action | |
def self.run(params) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
UNIVERSAL_OUTPUTFOLDER=../build/ | |
# make the output directory and delete the framework directory | |
mkdir -p "${UNIVERSAL_OUTPUTFOLDER}" | |
rm -rf "${UNIVERSAL_OUTPUTFOLDER}/${PROJECT_NAME}.framework" | |
# Step 1. Build Device and Simulator versions | |
set -o pipefail && xctool -workspace "../${WORKSPACE_NAME}" -scheme "${PROJECT_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -sdk iphoneos BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="${BUILD_ROOT}" clean build | xcpretty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Fastlane | |
module Helper | |
class HTHelper | |
attr_accessor :path | |
attr_accessor :ht_content | |
attr_accessor :version_regex | |
attr_accessor :version_match | |
attr_accessor :version_value | |
def initialize() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Zip and copy to right folder" | |
private_lane :package_framework do |lane| | |
if !lane[:framework] | |
raise "No framework specified!".red | |
end | |
if !lane[:version] | |
raise "No version specified!".red | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Increment framework version" | |
private_lane :increment_framework_version do |lane| | |
if !lane[:framework] | |
raise "No framework specified!".red | |
end | |
if !lane[:version] | |
raise "No version specified!".red | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Deploy/upload framework" | |
private_lane :deploy_framework do |lane| | |
if !lane[:framework] | |
raise "No framework specified!".red | |
end | |
if !lane[:version] | |
raise "No version specified!".red | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
volumes: | |
postgres_data_dev: {} | |
postgres_backup_dev: {} | |
services: | |
postgres: | |
build: ./compose/postgres | |
volumes: |
OlderNewer