From 7965bc540228fffd323ac5ac0525a08506d02231 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Wed, 6 Feb 2019 14:39:41 +0100 Subject: [PATCH] [ci] Add a .sha256 release artifact for linux/osx --- .travis.yml | 4 +++- scripts/prep_deploy.sh | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index fd7bb941..52f8b16f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,9 @@ deploy: api_key: secure: rF9ZCpzIJ+pYqxvS20omuTfQ5bN/W81malxwEyRobZc1OrcYK3Gdmq9wwxayx75PgDlXJvIMkuBrkRq1Mc1VprKOLmlg8yPjVm+5G1JySrpZ0yhs2+838gUJkdWESKtZRZ8xhKz2H1tK1a9WMXzWrW/hIBIWA2aZqC7hUTRvIyENE8hDec+7kTQCuNXkcsCL4mF9G77IPQhGR6CYj6Sg5j0u4NsIBiYnd3C218BUkZS15nE37Zj2o3C/ekQsUfAi8e3ALE6WEU+KDRccWT3/F8FMItxlJ5c2Wt4lUL5FC4+b5Vtz6sLBklKc8kex+ClFga5Hq6FDwBnotL8XsBZGiWPssdcZYVWtjHsXT1XeQOrtgdN+VN0IXP7/QzsEHSIADw9RE5S0F9RTKO+ghPL5YU1t7ZbWRqMy+AQDbFreIRftGWHyaRzmmxdea+XdhTMzv8Xyccakek+2HmrkvxC5KBtVVQUcjtf/mdEfF696N+DN4A+dkai15uk8C5vPGWDZF3SDlIOY23dOnMzMkC6qEFrzFjCwJ6mRKUhYI7mU4weMLekKq0dJa7xQuGNP7yuwQ4I+S/X00ukAcvNCLmWWjRRBxxeTVQJDwRdSepbzSkFqP6noopnOw6EIo6YV1EY9ipoX1ahaFVC8480uFFQI1BjVefTvFcflbCiSCerQECU= file_glob: true - file: sccache-$TRAVIS_TAG-$TARGET.tar.gz + file: + - sccache-$TRAVIS_TAG-$TARGET.tar.gz + - sccache-$TRAVIS_TAG-$TARGET.tar.gz.sha256 on: condition: $DEPLOY = 1 tags: true diff --git a/scripts/prep_deploy.sh b/scripts/prep_deploy.sh index 7c7a6b91..9e9908cd 100755 --- a/scripts/prep_deploy.sh +++ b/scripts/prep_deploy.sh @@ -5,5 +5,3 @@ mkdir $name cp target/$TARGET/release/sccache $name/ cp README.md LICENSE $name/ tar czvf $name.tar.gz $name -chksum=($(shasum -ba 256 $name.tar.gz)) -echo "$chksum" > $name.tar.gz.sha256