Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BITRISE -> APPETIZE #80

Open
DaidoujiChen opened this issue Mar 21, 2017 · 5 comments
Open

BITRISE -> APPETIZE #80

DaidoujiChen opened this issue Mar 21, 2017 · 5 comments

Comments

@DaidoujiChen
Copy link
Owner

記錄一下 script, 參考 bitrise-io/bitrise-contrib#6
其中 filename 的部分被我直接寫死了 o.o 因為不知道為什麼他會砍掉我的 Dai-
總之下面這段是編譯 simlator 用檔案的方式

    - script@1.1.3:
        inputs:
        - content: |-
            #!/bin/bash

            xcodebuild -showsdks

            echo "Schema is $BITRISE_SCHEME"
            echo "Workspace is $BITRISE_PROJECT_PATH"

            app_folder=`xcodebuild \
              -scheme $BITRISE_SCHEME \
              -workspace $BITRISE_PROJECT_PATH \
              -configuration Debug \
              -arch i386 \
              -sdk iphonesimulator \
              -showBuildSettings | grep -m 1 BUILT_PRODUCTS_DIR | grep -oEi "\/.*"`

            xcodebuild \
              -scheme $BITRISE_SCHEME \
              -workspace $BITRISE_PROJECT_PATH \
              -configuration Debug \
              -arch i386 \
              -sdk iphonesimulator

            app_filepath="$app_folder/Dai-Hentai.app"

            envman add --key BITRISE_SIMULATOR_IPA_PATH --value "$app_filepath"

            envman print
        - working_dir: "$BITRISE_SOURCE_DIR"
@carry0987
Copy link

carry0987 commented Mar 21, 2017 via email

@carry0987
Copy link

carry0987 commented Mar 21, 2017 via email

@DaidoujiChen
Copy link
Owner Author

就是比如說 build 出來的檔案名稱是 Dai-Hentai.app 用原本的 script 會變成 Hentai.app O3O

@kinosang
Copy link

kinosang commented Apr 9, 2017

Bitrise 支援自動部署 ipa 到 GitHub Releases

對於非 tag 的 commit,可以通過設定檔停用 Bitrise 的部署功能(deploy only tag)

另建議 README 中的 Bitrise badge 連接到 Bitrise build 頁面,沒記錯的話頁面上會有到 ipa 檔的連接。

@DaidoujiChen
Copy link
Owner Author

DaidoujiChen commented Apr 9, 2017

@kinosang

因為感覺還沒有很正式, 所以還沒有要放到 release 頁的說,
先 build 版本出來是想說是不是有人會想試玩一下最新的進度醬

>w<"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants