File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -212,11 +212,6 @@ async def async_run( # type: ignore[override]
212
212
github_pre_release: Enforce uploading a release as a GitHub pre
213
213
release
214
214
"""
215
- git_signing_key = (
216
- git_signing_key
217
- if git_signing_key is not None
218
- else find_signing_key (self .terminal )
219
- )
220
215
self .git_tag_prefix = git_tag_prefix or ""
221
216
self .repository = repository
222
217
@@ -304,6 +299,12 @@ async def async_run( # type: ignore[override]
304
299
305
300
commit_msg = f"Automatic release to { release_version } "
306
301
302
+ git_signing_key = (
303
+ git_signing_key
304
+ if git_signing_key is not None
305
+ else find_signing_key (self .terminal )
306
+ )
307
+
307
308
# check if files have been modified and create a commit
308
309
status = list (self .git .status ())
309
310
if status :
You can’t perform that action at this time.
0 commit comments