Skip to content

Commit

Permalink
Remove redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
Senorsen committed Sep 30, 2017
1 parent 7723339 commit 1c48259
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ dotnet: 1.0.4
script:
- ./build.sh --quiet verify
- pushd Wukong.Tests && dotnet restore && dotnet xunit && popd
- ./publish.sh linux-x64 win-x86 win-x64
- ./publish.sh linux-x64
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: ezefKnL218835Y+ahlzFEYAF3FsnoNs7sr8egWsDAj2jm+Mg64iXr/ofmVX4ssLgYyn+kAHZSTtbWjxCyyx1JA+EBTvDiSALIEc6bFPnNwPdtuFjgjo9daOSkBMwjxPvCTMimxdvVTBrEqFR5p7wfkvPr2LvsTOZ/xWu1Sym4GfLYxbexG9hI2tJf68XrFkoEfTJmfzRdPcuSn0oB33D7cFiibRNMN+Io+6k8nP8/8sDKnI6jToT3Ythxblkx4dEUcjocKBIP4mqaIL/AeevD7wGeNVZ7LbN1E5QgdmVPxgrivt5PtRuW1v/sGpM81+JsWLfl7O9gFBTbFQyEoX0jvo6qEAAZ/hTcCxusrHiAAvxOocYiXv9qVV+SQmgXQ4/Pac6LPEHTjkWnu+KYtH5ll+4x8fXfald5NhYU31AcM/Yivkn8u8ZupfUDBdQjITprKmhKPA6qwxUt8hz3f2Ic+nMyDM3GtwdNnIPbsnox/JzmcCZVb3b+vfPD/RwcflBFZRj+vbBRUwci+LW98mbLGV9n9ug5rTbCVyqe48i+1QHxiNoxM+Z1woEdRxgjhBYc7bOPGCfYAa+ZyA3BIScLAQZxemPUNUfc/YmW/Dd3QIvaTfjzfLEbu2BzqK/WHjg/d8O4bSd0M0bRBm1aC0n2iyCy3rDVqdp/edOAPmhZl4=
file: wukong-dist_linux-x64.tar.gz
file: Wukong-linux-x64.tar.gz
on:
repo: GyrosWorkshop/Wukong
tags: true
Expand Down
2 changes: 1 addition & 1 deletion Wukong/Wukong.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<TargetFramework>netcoreapp1.1</TargetFramework>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">$(PackageTargetFallback);dotnet5.6;portable-net45+win8</PackageTargetFallback>
<UserSecretsId>a8a90403-e478-489e-a053-196337881d14</UserSecretsId>
<RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers>
<RuntimeIdentifiers>linux-x64</RuntimeIdentifiers>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
cd Wukong
dotnet restore -r linux-x64 -r win-x64 -r win-x86
dotnet restore
dotnet build
4 changes: 3 additions & 1 deletion publish.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/bin/sh

set -ex

CSPROJ=Wukong/Wukong.csproj
CONFIGURATION=Release
OUTPUT_PREFIX=Wukong

for rid in $*; do
OUTPUT="$OUTPUT_PREFIX-$rid"
dotnet publish $CSPROJ -c Release -o $OUTPUT -r $rid
dotnet publish $CSPROJ -c Release -o ../$OUTPUT -r $rid
tar czvf $OUTPUT.tar.gz $OUTPUT
done

0 comments on commit 1c48259

Please sign in to comment.