-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into ipad-webview-size
- Loading branch information
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ on: | |
type: choice | ||
description: 'Select version bump type:' | ||
options: | ||
- none | ||
- patch | ||
- minor | ||
- major | ||
|
@@ -41,6 +42,15 @@ jobs: | |
ssh-private-key: | | ||
${{ secrets.MATCH_GIT_PRIVATE_KEY }} | ||
- name: Set Fastlane Options | ||
id: set_options | ||
run: | | ||
if [ "${{ github.event.inputs.bump_type }}" != "none" ]; then | ||
echo "fastlane_options={ \"bump\": \"${{ github.event.inputs.bump_type }}\" }" >> $GITHUB_ENV | ||
else | ||
echo "fastlane_options={}" >> $GITHUB_ENV | ||
fi | ||
- name: Deploy on TestFlight | ||
env: | ||
OH_CROWDIN_PROJECT_ID: openhab-ios | ||
|
@@ -59,5 +69,5 @@ jobs: | |
uses: maierj/[email protected] | ||
with: | ||
lane: beta | ||
options: '{ "bump": "${{ github.event.inputs.bump_type }}" }' | ||
options: ${{ steps.set_options.outputs.fastlane_options }} | ||
skip-tracking: true |