artifact publish ist part of release now

This commit is contained in:
Michael Jerger 2023-08-11 14:08:46 +02:00
parent 0952ec57a8
commit 2fc59f105b
3 changed files with 12 additions and 0 deletions

View file

@ -176,6 +176,7 @@ def prepare(project):
def tag(project):
build = get_devops_build(project)
build.tag_bump_and_push_release()
#TODO: build.publish_artifacts()
def release(project):

View file

@ -53,6 +53,12 @@ class ReleaseService:
)
self.git_api.push_follow_tags()
def publish_artifacts(self, release: Release):
# calculate checksum
# create release
# add artifacts to release
pass
def __set_version_and_commit__(
self, version: Version, build_file_ids: List[str], message: str
):

View file

@ -26,3 +26,8 @@ class ReleaseMixin(DevopsBuild):
devops = self.devops_repo.get_devops(self.project)
release = devops.mixins[MixinType.RELEASE]
self.release_service.tag_bump_and_push_release(release)
def publish_artifacts(self):
devops = self.devops_repo.get_devops(self.project)
release = devops.mixins[MixinType.RELEASE]
self.release_service.publish_artifacts(release)