diff options
author | Christian Moritz <chrmoritz@users.noreply.github.com> | 2019-10-25 21:29:17 +0200 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-10-25 15:29:17 -0400 |
commit | 1a86264232f9607c3293e01326c6469910575f25 (patch) | |
tree | 3b49ae7fd619b17026cea8d4e29f574cd0fadc52 | |
parent | dfcdc0315233019740d76448be68cad0292a6c1d (diff) |
Publish source tarballs for releases (#3203)
-rw-r--r-- | .github/workflows/build.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c87c200e5..dbed7f270 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 |