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]
212212 github_pre_release: Enforce uploading a release as a GitHub pre
213213 release
214214 """
215- git_signing_key = (
216- git_signing_key
217- if git_signing_key is not None
218- else find_signing_key (self .terminal )
219- )
220215 self .git_tag_prefix = git_tag_prefix or ""
221216 self .repository = repository
222217
@@ -304,6 +299,12 @@ async def async_run( # type: ignore[override]
304299
305300 commit_msg = f"Automatic release to { release_version } "
306301
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+
307308 # check if files have been modified and create a commit
308309 status = list (self .git .status ())
309310 if status :
You can’t perform that action at this time.
0 commit comments