File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,18 @@ jobs:
23
23
env :
24
24
GITHUB_REF_NAME : ${{ github.ref_name }}
25
25
26
- - name : Set Version Number
26
+ # - name: Set Version Number
27
+ # run: |
28
+ # agvtool new-marketing-version ${{ env.APP_VERSION }}
29
+ # agvtool new-version -all ${{ github.run_number }}
30
+
31
+ - name : Update Version Numbers in .xcconfig
27
32
run : |
28
- agvtool new-marketing-version ${{ env.APP_VERSION }}
29
- agvtool new-version -all ${{ github.run_number }}
33
+ echo "MARKETING_VERSION = $APP_VERSION" > Release.xcconfig
34
+ echo "CURRENT_PROJECT_VERSION = $GITHUB_RUN_NUMBER" >> Release.xcconfig
35
+ env :
36
+ APP_VERSION : ${{ env.APP_VERSION }}
37
+ GITHUB_RUN_NUMBER : ${{ github.run_number }}
30
38
31
39
- name : Build App
32
40
run : xcodebuild -project IPMenuBar.xcodeproj -scheme "IPMenuBar - Release" -configuration Release clean build -derivedDataPath './build' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
You can’t perform that action at this time.
0 commit comments