加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.releash.py 712 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sylvain Corlay 提交于 2019-12-26 15:30 . Fix URLs
from releash import *
gitpush = ReleaseTargetGitPush('upstream', 'master')
xtl = add_package(path=".", name="xtl")
version_xtl = VersionSourceAndTargetHpp(xtl, '{path}/include/xtl/xtl_config.hpp', prefix='XTL_VERSION_')
gittag_xtl = ReleaseTargetGitTagVersion(version_source=version_xtl, prefix='', annotate=True)
xtl.version_source = version_xtl
xtl.version_targets.append(version_xtl)
xtl.release_targets.append(gittag_xtl)
xtl.release_targets.append(gitpush)
source_tarball_filename = 'https://github.com/xtensor-stack/xtl/archive/{version}.tar.gz'.format(version=version_xtl)
xtl.release_targets.append(ReleaseTargetCondaForge(xtl, '../xtl-feedstock', source_tarball_filename=source_tarball_filename))
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化