File tree Expand file tree Collapse file tree 3 files changed +40
-7
lines changed Expand file tree Collapse file tree 3 files changed +40
-7
lines changed Original file line number Diff line number Diff line change @@ -29,29 +29,29 @@ jobs:
2929 runs-on : ${{ matrix.os }}
3030 steps :
3131 - name : 📄 Checkout repository
32- uses : actions/checkout@v4
32+ uses : actions/checkout@v5
3333 with :
3434 lfs : true
3535 # Disabling shallow clone is recommended for improving relevancy of reporting
3636 fetch-depth : 0
3737
3838
3939 - name : Checkout build4d-action
40- uses : actions/checkout@v4
40+ uses : actions/checkout@v5
4141 with :
4242 repository : 4d/build4d-action
4343 token : ${{ secrets.GH_4D_ACTION_TOKEN }}
4444 path : .github/actions/build4d-action
4545
4646 - name : Checkout tool4d-action
47- uses : actions/checkout@v4
47+ uses : actions/checkout@v5
4848 with :
4949 repository : 4d/tool4d-action
5050 token : ${{ secrets.GH_4D_ACTION_TOKEN }}
5151 path : .github/actions/tool4d-action
5252
5353 - name : Checkout setup4d-action
54- uses : actions/checkout@v4
54+ uses : actions/checkout@v5
5555 with :
5656 repository : 4d/setup4d-action
5757 token : ${{ secrets.GH_4D_ACTION_TOKEN }}
Original file line number Diff line number Diff line change @@ -19,25 +19,36 @@ jobs:
1919 runs-on : [macos-latest]
2020 steps :
2121 - name : 📄 Checkout repository
22- uses : actions/checkout@v4
22+ uses : actions/checkout@v5
2323 with :
2424 lfs : true
2525 # Disabling shallow clone is recommended for improving relevancy of reporting
2626 fetch-depth : 0
2727
2828 - name : Checkout build4d-action
29- uses : actions/checkout@v4
29+ uses : actions/checkout@v5
3030 with :
3131 repository : 4d/build4d-action
3232 token : ${{ secrets.GH_4D_ACTION_TOKEN }}
3333 path : .github/actions/build4d-action
3434
3535 - name : Checkout tool4d-action
36- uses : actions/checkout@v4
36+ uses : actions/checkout@v5
3737 with :
3838 repository : 4d/tool4d-action
3939 token : ${{ secrets.GH_4D_ACTION_TOKEN }}
4040 path : .github/actions/tool4d-action
41+
42+
43+ - name : Extract version
44+ run : |
45+ echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
46+
47+ - name : " Set release version to Info.plist"
48+ run : |
49+ /usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $VERSION" "${GITHUB_WORKSPACE}/${{ github.event.repository.name }}/Info.plist"
50+ /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $VERSION" "${GITHUB_WORKSPACE}/${{ github.event.repository.name }}/Info.plist"
51+ cat "${GITHUB_WORKSPACE}/${{ github.event.repository.name }}/Info.plist"
4152
4253
4354 - name : 🏗️ Build ${{ github.event.repository.name }}
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" standalone =" no" ?>
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+ <plist version =" 1.0" >
4+
5+ <dict >
6+ <key >NSHumanReadableCopyright </key >
7+ <string >©4D SAS 2025 </string >
8+ <key >CFBundleDisplayName </key >
9+ <string >Build4D </string >
10+ <key >CFBundleGetInfoString </key >
11+ <string >Build4D </string >
12+ <key >CFBundleName </key >
13+ <string >Build4D </string >
14+ <key >CFBundleIdentifier </key >
15+ <string >com.4d.build4d </string >
16+ <key >CFBundleVersion </key >
17+ <string >0.0.0 </string >
18+ <key >CFBundleShortVersionString </key >
19+ <string >0.0.0 </string >
20+ </dict >
21+
22+ </plist >
You can’t perform that action at this time.
0 commit comments