artifact publish ist part of release now
This commit is contained in:
parent
0952ec57a8
commit
2fc59f105b
3 changed files with 12 additions and 0 deletions
1
build.py
1
build.py
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
):
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue