Skip to content

Commit

Permalink
fixes to build process
Browse files Browse the repository at this point in the history
  • Loading branch information
gregbuehler committed Apr 6, 2022
1 parent 91b7fd8 commit 8ff876b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ dotnet clean
# win10-x64
ARCH=win10-x64
dotnet publish opensky2cot.csproj -c Release -r $ARCH --self-contained=true -p:PublishSingleFile=true
pushd ./opensky2cot/bin/Release/net5.0/$ARCH/publish/
pushd ./bin/Release/net5.0/$ARCH/publish/
zip -r $DIST_DIR/opensky2cot-$VERSION-$ARCH.zip .
popd

# linux-x64
ARCH=linux-x64
dotnet publish opensky2cot.csproj -c Release -r $ARCH --self-contained=true -p:PublishSingleFile=true
pushd ./opensky2cot/bin/Release/net5.0/$ARCH/publish/
pushd ./bin/Release/net5.0/$ARCH/publish/
tar -czvf $DIST_DIR/opensky2cot-$VERSION-$ARCH.tar.gz .
popd

# linux-arm64
ARCH=linux-arm64
dotnet publish opensky2cot.csproj -c Release -r $ARCH --self-contained=true -p:PublishSingleFile=true
pushd ./opensky2cot/bin/Release/net5.0/$ARCH/publish/
pushd ./bin/Release/net5.0/$ARCH/publish/
tar -czvf $DIST_DIR/opensky2cot-$VERSION-$ARCH.tar.gz .
popd

0 comments on commit 8ff876b

Please sign in to comment.