1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

Publish source tarballs for releases (#3203)

This commit is contained in:
Christian Moritz 2019-10-25 21:29:17 +02:00 committed by Ry Dahl
parent dfcdc03152
commit 1a86264232

View file

@ -36,6 +36,12 @@ jobs:
fetch-depth: 1
submodules: true
- name: Create source tarballs (release, linux)
if: startsWith(matrix.os, 'ubuntu') && matrix.kind == 'test' && startsWith(github.ref, 'refs/tags/') && github.repository == 'denoland/deno'
run: |
mkdir -p target/release
tar --exclude=".git*" --exclude=target --exclude=deno_typescript/typescript/tests --exclude=third_party/cpplint --exclude="third_party/node_modules/*" --exclude=third_party/python_packages --exclude=third_party/wrk -czvf target/release/deno_src.tar.gz -C .. deno
- name: Install rust
uses: hecrj/setup-rust-action@v1
with:
@ -180,6 +186,7 @@ jobs:
target/release/deno_win_x64.zip
target/release/deno_linux_x64.gz
target/release/deno_osx_x64.gz
target/release/deno_src.tar.gz
draft: true
- name: Stop sccache