File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 19
19
mobile_release_created : ${{ steps.release.outputs.leather-io-mobile--release-created }}
20
20
# Our PNPM workspace issue was fixed here: https://github.com/googleapis/release-please/pull/2281
21
21
steps :
22
+ - name : Import GPG key
23
+ uses : crazy-max/ghaction-import-gpg@v5
24
+ with :
25
+ gpg_private_key : ${{ secrets.LEATHER_BOT_GPG_PRIVATE_KEY }}
26
+ passphrase : ${{ secrets.LEATHER_BOT_GPG_PASSPHRASE }}
27
+ git_user_signingkey : true
28
+ git_commit_gpgsign : true
29
+
22
30
- uses : google-github-actions/release-please-action@v3
23
31
id : release
24
32
with :
29
37
manifest-file : .release-please-manifest.json
30
38
default-branch : dev
31
39
release-type : ' minor'
40
+ # Add GPG signing configuration
41
+ signoff : true
32
42
33
43
# The logic below handles the npm publication:
34
44
deploy :
Original file line number Diff line number Diff line change @@ -64,13 +64,20 @@ jobs:
64
64
env :
65
65
VERSION : ${{env.VERSION}}
66
66
67
- - name : Update app.config.js
68
- shell : bash
67
+ - name : Update version in app.config.js
69
68
working-directory : ./apps/mobile
70
69
# Note if you want to debug this on macos you'll need to use sed -i '' <rest of command>
71
70
run : |
72
71
sed -i "s/version: '[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*'/version: '$VERSION'/g" app.config.js
73
72
73
+ - name : Import GPG key
74
+ uses : crazy-max/ghaction-import-gpg@v5
75
+ with :
76
+ gpg_private_key : ${{ secrets.LEATHER_BOT_GPG_PRIVATE_KEY }}
77
+ passphrase : ${{ secrets.LEATHER_BOT_GPG_PASSPHRASE }}
78
+ git_user_signingkey : true
79
+ git_commit_gpgsign : true
80
+
74
81
- name : Commit version bump to release branch
75
82
run : |
76
83
git config --global user.name "leather-bot <[email protected] >"
You can’t perform that action at this time.
0 commit comments