Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_22812535
incubator-superset
提交
c1810aab
I
incubator-superset
项目概览
qq_22812535
/
incubator-superset
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
incubator-superset
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
c1810aab
编写于
10月 28, 2019
作者:
D
Daniel Vaz Gaspar
提交者:
GitHub
10月 28, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[docs] Crafting a new release (#8433)
* [docs] Crafting a new release
上级
eaeed0c9
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
41 addition
and
6 deletion
+41
-6
RELEASING/README.md
RELEASING/README.md
+25
-3
scripts/sign.sh
scripts/sign.sh
+16
-3
未找到文件。
RELEASING/README.md
浏览文件 @
c1810aab
...
...
@@ -45,14 +45,30 @@ need to be done at every release.
# Add your GPG pub key to KEYS file. Replace "Maxime Beauchemin" with your name
export
FULLNAME
=
"Maxime Beauchemin"
(
gpg
--list-sigs
$FULLNAME
&&
gpg
--armor
--export
$FULLNAME
)
>>
KEYS
export
SUPERSET_PGP_
FULLNAME
=
"Maxime Beauchemin"
(
gpg
--list-sigs
"
${
SUPERSET_PGP_FULLNAME
}
"
&&
gpg
--armor
--export
"
${
SUPERSET_PGP_FULLNAME
}
"
)
>>
KEYS
# Commit the changes
svn commit
-m
"Add PGP keys of new Superset committer"
```
## Crafting a source release
When crafting a new minor or major release we create
a branch named with the release MAJOR.MINOR version.
This new branch will hold all PATCH and release candidates
that belong to the MAJOR.MINOR version.
The MAJOR.MINOR branch is normally a "cut" from a specific point in time from the master branch.
Then (if needed) apply all cherries that will make the PATCH
Finally bump the version number on
`superset/static/assets/package.json`
::
"version": "0.35.0rc1"
Commit the change with the version number, then git tag the version and push
## Setting up the release environment (do every time)
As the vote process takes a minimum of 72h (community vote) + 72h (IPMC) vote,
...
...
@@ -74,6 +90,8 @@ Then you can generate other derived environment variables that are used
throughout the release process:
```
bash
# Replace SUPERSET_PGP_FULLNAME with your PGP key name for Apache
export
SUPERSET_PGP_FULLNAME
=
"YOURFULLNAMEHERE"
export
SUPERSET_VERSION_RC
=
${
SUPERSET_VERSION
}
rc
${
SUPERSET_RC
}
export
SUPERSET_RELEASE
=
apache-superset-incubating-
${
SUPERSET_VERSION
}
export
SUPERSET_RELEASE_RC
=
apache-superset-incubating-
${
SUPERSET_VERSION_RC
}
...
...
@@ -121,7 +139,11 @@ Now let's craft a source release
-o
~/svn/superset_dev/
${
SUPERSET_VERSION_RC
}
/
${
SUPERSET_RELEASE_RC_TARBALL
}
cd
~/svn/superset_dev/
${
SUPERSET_VERSION_RC
}
/
${
SUPERSET_REPO_DIR
}
/scripts/sign.sh
${
SUPERSET_RELEASE_RC
}
-source
.tar.gz
${
SUPERSET_REPO_DIR
}
/scripts/sign.sh
"
${
SUPERSET_RELEASE_RC_TARBALL
}
"
"
${
SUPERSET_PGP_FULLNAME
}
"
# To verify to signature
gpg
--verify
"
${
SUPERSET_RELEASE_RC_TARBALL
}
"
.asc
"
${
SUPERSET_RELEASE_RC_TARBALL
}
"
```
### Shipping to SVN
...
...
scripts/sign.sh
浏览文件 @
c1810aab
...
...
@@ -22,7 +22,20 @@
# you will still be required to type in your signing key password
# or it needs to be available in your keychain
NAME
=
${
1
}
gpg
--armor
--output
${
NAME
}
.asc
--detach-sig
${
NAME
}
gpg
--print-md
SHA512
${
NAME
}
>
${
NAME
}
.sha512
# The name of the file/artifact to sign ${RELEASE}-source.tar.gz
if
[
-z
"
${
1
}
"
]
;
then
echo
"Missing first parameter, usage: sign <FILE_NAME> <GPG KEY>"
exit
1
fi
NAME
=
"
${
1
}
"
if
[
-z
"
${
2
}
"
]
;
then
gpg
--armor
--output
"
${
NAME
}
"
.asc
--detach-sig
"
${
NAME
}
"
gpg
--print-md
SHA512
"
${
NAME
}
"
>
"
${
NAME
}
"
.sha512
else
# The GPG key name to use
GPG_LOCAL_USER
=
"
${
2
}
"
gpg
--local-user
"
${
GPG_LOCAL_USER
}
"
--armor
--output
"
${
NAME
}
"
.asc
--detach-sig
"
${
NAME
}
"
gpg
--local-user
"
${
GPG_LOCAL_USER
}
"
--print-md
SHA512
"
${
NAME
}
"
>
"
${
NAME
}
"
.sha512
fi
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录