Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Adding version bump workflow

Robbie Davis8676b81821f3
diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml
new file mode 100644
index 000000000..94d2bb880
--- /dev/null
+++ b/.github/workflows/version-bump.yml
@@ -0,0 +1,41 @@
+name: Bump .Net Version
+
+on:
+ push:
+ branches: [ version-bump ]
+
+jobs:
+ bump:
+ name: Version bump
+ runs-on: windows-latest
+ steps:
+ - name: Checkout Repo
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ ref: version-bump
+
+ - name: Setup .NET Core
+ uses: actions/setup-dotnet@v1
+ with:
+ dotnet-version: 5.0.100
+
+ - name: Install dependencies
+ run: dotnet restore
+
+ - name: Build
+ run: dotnet build --configuration Release --no-restore
+
+ - name: Bump versions
+ uses: SiqiLu/dotnet-bump-version@master
+ with:
+ version_files: Kavita.Common/Kavita.Common.csproj
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Merge bump branch -> pr branch
+ uses: devmasx/[email protected]
+ with:
+ type: now
+ from_branch: version-bump
+ target_branch: ${{ github.event.inputs.branch }}
+ github_token: ${{ secrets.GITHUB_TOKEN }}