CodeCommitsIssuesPull requestsActionsInsightsSecurity
34e4f8e0c182e0a4e81eb353f7693c7981934bb4

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

ci/create-sources-tarball.sh

10lines · modecode

1#!/usr/bin/env bash
2set -e -x
3
4source default-config
5
6if [[ -d "${WORKSPACE}/sources" ]]; then
7 tar -c -z -f "${WORKSPACE}/sources.tar.gz" --directory "${WORKSPACE}/sources" .
8else
9 die "Run get-sources first"
10fi