From 4028ff35297508c9c8b046e1633471fc1fe85c34 Mon Sep 17 00:00:00 2001 From: Joseph Milazzo Date: Thu, 25 Mar 2021 08:38:38 -0500 Subject: [PATCH] v0.3.1 Release (#105) * Fix directory issue when building all the packages where directory got skewed. (#98) * Bump version for patch release due to bug in continue fuctionality. (#104) * Chore/version bump (#106) * Bump version for patch release due to bug in continue fuctionality. * Added develop branch for github actions --- .github/workflows/build.yml | 4 ++-- API/Startup.cs | 2 +- build.sh | 10 +++++++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 795832a8f..fc6133f9e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,9 @@ name: .NET Core Build on: push: - branches: [ main ] + branches: [ main, develop ] pull_request: - branches: [ main ] + branches: [ main, develop ] types: [opened, synchronize, reopened] jobs: diff --git a/API/Startup.cs b/API/Startup.cs index 997954016..65cde44f0 100644 --- a/API/Startup.cs +++ b/API/Startup.cs @@ -136,7 +136,7 @@ namespace API applicationLifetime.ApplicationStopping.Register(OnShutdown); applicationLifetime.ApplicationStarted.Register(() => { - Console.WriteLine("Kavita - v0.3"); + Console.WriteLine("Kavita - v0.3.1"); }); } diff --git a/build.sh b/build.sh index 22a8d09fe..9119b76f4 100644 --- a/build.sh +++ b/build.sh @@ -62,7 +62,6 @@ Package() ProgressStart "Creating $runtime Package for $framework" - BuildUI echo "Building" cd API @@ -91,16 +90,25 @@ Package() RID="$1" Build +BuildUI + +dir=$PWD if [[ -z "$RID" ]]; then Package "net5.0" "win-x64" + cd "$dir" Package "net5.0" "win-x86" + cd "$dir" Package "net5.0" "linux-x64" + cd "$dir" Package "net5.0" "linux-musl-x64" + cd "$dir" Package "net5.0" "osx-x64" + cd "$dir" else Package "net5.0" "$RID" + cd "$dir" fi