Skip to content

Commit d2fa1d9

Browse files
committed
fix: bump CFBundleVersion alongside marketing version on release
1 parent a9745c3 commit d2fa1d9

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
-configuration Release \
4545
-derivedDataPath build \
4646
MARKETING_VERSION="${{ steps.version.outputs.marketing_version }}" \
47+
CURRENT_PROJECT_VERSION="${{ steps.version.outputs.marketing_version }}" \
4748
CODE_SIGNING_ALLOWED=NO \
4849
CODE_SIGNING_REQUIRED=NO
4950

.release-it.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"github": {
88
"release": false
99
},
10+
"hooks": {
11+
"before:git:release": "xcrun agvtool new-marketing-version ${version} && xcrun agvtool new-version -all ${version} && git add Wave.xcodeproj/project.pbxproj CHANGELOG.md"
12+
},
1013
"plugins": {
1114
"@release-it/conventional-changelog": {
1215
"preset": "conventionalcommits",

0 commit comments

Comments
 (0)