Skip to content

Commit 3c20fb8

Browse files
committed
Update prepare release task
1 parent ffc38b5 commit 3c20fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,12 @@ def release_prepare(context, version):
263263
context.run(_cmd("poetry", "version", version))
264264
context.run(_cmd("git", "add", "pyproject.toml"))
265265
context.run(_cmd("git", "commit", "-m", f'"Prepare release {version}"'))
266-
context.run(_cmd("git", "tag", version))
267266

268267

269268
@task
270269
def release_workflow(context, version):
271270
"""Start/Trigger a GitHub action based release workflow"""
271+
context.run(_cmd("git", "tag", version))
272272
context.run(_cmd("git", "push", "origin", version))
273273
context.run(_cmd("gh", "workflow", "view", "ci-cd.yml", "--web"))
274274

0 commit comments

Comments
 (0)