提交 c940d5ef 编写于 作者: A Aljoscha Krettek

[hotfix] Ensure pristine release in tools/releasing/create_source_release.sh

上级 bb1b0bfd
......@@ -49,10 +49,15 @@ cd ..
echo "Creating source package"
# create a temporary git clone to ensure that we have a pristine source release
git clone . flink-tmp-clone
cd flink-tmp-clone
rsync -a \
--exclude ".git" --exclude ".gitignore" --exclude ".gitattributes" --exclude ".travis.yml" \
--exclude "deploysettings.xml" --exclude "CHANGELOG" --exclude ".github" --exclude "target" \
--exclude ".idea" --exclude "*.iml" --exclude ".DS_Store" --exclude "build-target" \
--exclude "docs/content" --exclude ".rubydeps" \
. flink-$RELEASE_VERSION
tar czf flink-${RELEASE_VERSION}-src.tgz flink-$RELEASE_VERSION
......@@ -60,4 +65,6 @@ gpg --armor --detach-sig flink-$RELEASE_VERSION-src.tgz
$MD5SUM flink-$RELEASE_VERSION-src.tgz > flink-$RELEASE_VERSION-src.tgz.md5
$SHASUM flink-$RELEASE_VERSION-src.tgz > flink-$RELEASE_VERSION-src.tgz.sha
rm -rf flink-$RELEASE_VERSION
mv flink-$RELEASE_VERSION-src.* ../
cd ..
rm -r flink-tmp-clone
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册