Skip to content

Commit 3116d0e

Browse files
committed
refacto the 'make_release' to sign commits [skip ci]
1 parent ae47659 commit 3116d0e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

utils/make_release.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ def modify_and_push_docker(version, # grid2op version
197197
start_subprocess_print(["git", "add", f'{os.path.join(PATH_PREVIOUS_RUNNER, f"res_agent_{version}")}/*'])
198198

199199
# Commit
200-
start_subprocess_print(["git", "commit", "-m", "Release v{}".format(version)])
200+
start_subprocess_print(["git", "commit", "-S", "-m", "Release v{}".format(version)])
201201
if not is_prerelease:
202202
# Create a new git tag
203-
start_subprocess_print(["git", "tag", "-a", "v{}".format(version), "-m", "Release v{}".format(version)])
203+
start_subprocess_print(["git", "tag", "-s", "-a", "v{}".format(version), "-m", "Release v{}".format(version)])
204204

205205
if is_prerelease:
206206
print("Please push changes: 'git push'")
@@ -227,4 +227,3 @@ def modify_and_push_docker(version, # grid2op version
227227
path=path,
228228
docker_versions=[version, "latest"],
229229
docker_tags=["--no-cache"])
230-

0 commit comments

Comments
 (0)