File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -214,11 +214,21 @@ pipeline {
214214 steps {
215215 unstash ' bionic'
216216 unstash ' arch'
217+ dir(" kevm-${ env.RELEASE_ID} " ) {
218+ checkout scm
219+ sh '''
220+ find . -name .git | xargs rm -r
221+ rm -r deps/k tests/ethereum-tests deps/metropolis
222+ cd ..
223+ tar czvf kevm-${RELEASE_ID}.tar.gz kevm-${RELEASE_ID}
224+ '''
225+ }
217226 sh '''
218227 git_commit=$(cd kevm-$RELEASE_ID && git rev-parse --short HEAD)
219228 hub release create \
220229 --attach "kevm_${RELEASE_ID}_amd64.deb#Ubuntu Bionic (18.04) Package" \
221230 --attach "kevm-${RELEASE_ID}/package/kevm-git-${RELEASE_ID}-1-x86_64.pkg.tar.xz#Arch Package" \
231+ --attach "kevm-${RELEASE_ID}.tar.gz#Source tar.gz" \
222232 --message "$(echo -e "KEVM Release $RELEASE_ID - $git_commit\n\n " ; cat kevm-${RELEASE_ID}/INSTALL.md ;)" \
223233 --commitish $(git rev-parse HEAD) "v$RELEASE_ID-$git_commit"
224234 '''
You can’t perform that action at this time.
0 commit comments