Publish source tarballs for releases
@@ -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
