GithubHelp home page GithubHelp logo

bullas200374 / bitrise-step-xcode-project-info Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tadija/bitrise-step-xcode-project-info

0.0 0.0 0.0 14 KB

Bitrise step which extracts Xcode project information to environment variables

License: MIT License

Shell 100.00%

bitrise-step-xcode-project-info's Introduction

Xcode Project Info

Bitrise step which extracts Xcode project information to environment variables

Description

This step will simply extract Xcode project information (Version and Build), and export them into environment variables prefixed with XPI_.

Afterwards, you can use these environment variables in other steps (ie. sending message on Slack).

Outputs

Env Var Description
$XPI_VERSION Version ($CFBundleShortVersionString or $MARKETING_VERSION)
$XPI_BUILD Build ($CFBundleVersion or $CURRENT_PROJECT_VERSION)

How to use this Step

You just need to set relative path from Source directory to Info.plist file. Source directory is considered to be root directory created by the Git Clone step. If your Info.plist file is in RootDir/ProjectName directory (for example), then you should set this input to ProjectName/Info.plist.

For Xcode 11 projects, you will need to set the relative path from source directory to the .xcodeproj directory. Additionally, you can specify which target you want to get the version & build numbers for. If actual values are set in Info.plist, they will be used instead of the values from the xcodeproj. This means it won't break if you set a build number within your workflow for instance.

bitrise-step-xcode-project-info's People

Contributors

tadija avatar dlajarretie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.