Skip to content

Commit

Permalink
Add input for version build
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhpalp committed Jul 27, 2023
1 parent fbf9db4 commit 70510dc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
description: "Increment Version Number"
type: boolean
default: false
required: true
workflow_dispatch:
inputs:
build_environment:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
description: "Upload to App Store"
type: boolean
required: true
build_number:
description: "Upload to App Store"
type: number
required: true
workflow_dispatch:
inputs:
build_environment:
Expand All @@ -26,6 +30,10 @@ on:
description: "Upload to App Store"
type: boolean
default: false
build_number:
description: "Upload to App Store"
type: number
required: true

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down Expand Up @@ -202,6 +210,10 @@ jobs:
path: ${{ runner.temp }}/build/App.ipa
retention-days: 3

- name: Set build number
working-directory: ${{ env.ANGULAR_DIRECTORY }}/ios/App/App
run: |
xcrun agvtool new-version -all ${{ inputs.build_number }}
- name: "Upload app to TestFlight"
uses: apple-actions/upload-testflight-build@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,13 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 413;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = L796QSLV3E;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.8.0;
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
PRODUCT_BUNDLE_IDENTIFIER = ca.bc.gov.WildfireInformation;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -375,11 +377,13 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 413;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = L796QSLV3E;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.8.0;
PRODUCT_BUNDLE_IDENTIFIER = ca.bc.gov.WildfireInformation;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down

0 comments on commit 70510dc

Please sign in to comment.