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 {
214
214
steps {
215
215
unstash ' bionic'
216
216
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
+ }
217
226
sh '''
218
227
git_commit=$(cd kevm-$RELEASE_ID && git rev-parse --short HEAD)
219
228
hub release create \
220
229
--attach "kevm_${RELEASE_ID}_amd64.deb#Ubuntu Bionic (18.04) Package" \
221
230
--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" \
222
232
--message "$(echo -e "KEVM Release $RELEASE_ID - $git_commit\n\n " ; cat kevm-${RELEASE_ID}/INSTALL.md ;)" \
223
233
--commitish $(git rev-parse HEAD) "v$RELEASE_ID-$git_commit"
224
234
'''
You can’t perform that action at this time.
0 commit comments