From e7d6773d6167e4d3d252311b54219dc49cf24cd4 Mon Sep 17 00:00:00 2001 From: Omid Mafakher Date: Sat, 8 Mar 2025 18:11:11 +0100 Subject: [PATCH 1/2] auto run pipeline when tag pushed (#75) --- .github/workflows/dotnet.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 2e2092d..4775e48 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -6,6 +6,8 @@ name: CI on: push: branches: [ "main", "develop" ] + tags: + - 'v*.*.*' pull_request: branches: [ "main", "develop" ] @@ -31,9 +33,9 @@ jobs: #- name: Test # run: dotnet test --no-build --verbosity normal - # push nugget package to github if push to main branch + # push nuget package if it's a tag push - name: Push NuGet package - if: github.ref == 'refs/heads/main' + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v1 with: files: src/AvaloniaInside.Shell/bin/Release/AvaloniaInside.Shell.*.nupkg From bcee464d72eafaa46728dbb120d9bafa34319478 Mon Sep 17 00:00:00 2001 From: Omid Mafakher Date: Thu, 8 May 2025 14:15:48 +0200 Subject: [PATCH 2/2] release v1.3.2 (#90) * Create renovate.json * add renovate pipeline * update renovate version * fix issue of renovate token * Create renovate-config.js * Update renovate.yml * Delete .github/configs directory * Create renovate-config.js * Update renovate-config.js * Update renovate-config.js * remove dry run from renovate * Update renovate-config.js * Update renovate-config.js * Update renovate.yml (#79) * Update renovate.yml * Update renovate.yml * Migrate config renovate.json (#81) Co-authored-by: Renovate Bot * Delete renovate.json * Update renovate.yml * Add renovate.json (#82) Co-authored-by: Renovate Bot * Update dependency Newtonsoft.Json to 13.0.3 (#83) Co-authored-by: Renovate Bot * Update dependency Xamarin.AndroidX.Core.SplashScreen to 1.0.1.15 (#84) Co-authored-by: Renovate Bot * Update renovate.yml * Update renovate-config.js * Update renovate.yml * Update renovate.yml * move to central package (#87) * Update avalonia monorepo to 11.3.0 (#88) Co-authored-by: Renovate Bot * Update dependency ReactiveUI to 20.2.45 (#89) Co-authored-by: Renovate Bot --------- Co-authored-by: Renovate Bot --- .github/configs/renovate-config.js | 11 +++++++++ .github/workflows/renovate.yml | 19 +++++++++++++++ renovate.json | 3 +++ src/AvaloniaInside.Shell.sln | 1 + .../AvaloniaInside.Shell.csproj | 8 +++---- src/Directory.Packages.props | 23 +++++++++++++++++++ .../ShellBottomCustomNavigator.Android.csproj | 4 ++-- .../ShellBottomCustomNavigator.Browser.csproj | 2 +- .../ShellBottomCustomNavigator.Desktop.csproj | 4 ++-- .../ShellBottomCustomNavigator.iOS.csproj | 2 +- .../ShellBottomCustomNavigator.csproj | 18 +++++++-------- .../ShellExample.Android.csproj | 2 +- .../ShellExample.Desktop.csproj | 4 ++-- .../ShellExample.Web/ShellExample.Web.csproj | 4 ++-- .../ShellExample.iOS/ShellExample.iOS.csproj | 2 +- .../ShellExample/ShellExample.csproj | 14 +++++------ 16 files changed, 89 insertions(+), 32 deletions(-) create mode 100644 .github/configs/renovate-config.js create mode 100644 .github/workflows/renovate.yml create mode 100644 renovate.json create mode 100644 src/Directory.Packages.props diff --git a/.github/configs/renovate-config.js b/.github/configs/renovate-config.js new file mode 100644 index 0000000..e5ca9a7 --- /dev/null +++ b/.github/configs/renovate-config.js @@ -0,0 +1,11 @@ +module.exports = { + "extends": ["config:recommended", ":disableDependencyDashboard"], + "repositories": ["AvaloniaInside/Shell"], + "platform": "github", + "branchPrefix": "renovate/", + "gitAuthor": "Renovate Bot ", + "automerge": false, + "forkProcessing": "enabled", + "allowedCommands": [".*"], + "prCreation": "immediate" +}; diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 0000000..f1e6ad4 --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,19 @@ +name: Renovate Dependency Update + +on: + schedule: + - cron: '0 6 * * *' + workflow_dispatch: +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + - name: Self-hosted Renovate + uses: renovatebot/github-action@v42.0.0 + with: + configurationFile: .github/configs/renovate-config.js + token: ${{ secrets.RENOVATE_PAT_TOKEN }} + env: + LOG_LEVEL: debug diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..7190a60 --- /dev/null +++ b/renovate.json @@ -0,0 +1,3 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json" +} diff --git a/src/AvaloniaInside.Shell.sln b/src/AvaloniaInside.Shell.sln index 62a7f2e..3c281f4 100644 --- a/src/AvaloniaInside.Shell.sln +++ b/src/AvaloniaInside.Shell.sln @@ -21,6 +21,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Files", "Files", "{50F7051E ProjectSection(SolutionItems) = preProject Directory.Build.props = Directory.Build.props ..\README.md = ..\README.md + Directory.Packages.props = Directory.Packages.props EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShellBottomCustomNavigator", "Example\ShellBottomCustomNavigator\ShellBottomCustomNavigator\ShellBottomCustomNavigator.csproj", "{6D8FCCDB-C66B-4B81-9555-725E1EE912B8}" diff --git a/src/AvaloniaInside.Shell/AvaloniaInside.Shell.csproj b/src/AvaloniaInside.Shell/AvaloniaInside.Shell.csproj index 2750b60..6d07843 100644 --- a/src/AvaloniaInside.Shell/AvaloniaInside.Shell.csproj +++ b/src/AvaloniaInside.Shell/AvaloniaInside.Shell.csproj @@ -22,11 +22,11 @@ - - - + + + - + diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props new file mode 100644 index 0000000..739b949 --- /dev/null +++ b/src/Directory.Packages.props @@ -0,0 +1,23 @@ + + + true + true + + + + + + + + + + + + + + + + + + + diff --git a/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Android/ShellBottomCustomNavigator.Android.csproj b/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Android/ShellBottomCustomNavigator.Android.csproj index fe8c064..19b5850 100644 --- a/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Android/ShellBottomCustomNavigator.Android.csproj +++ b/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Android/ShellBottomCustomNavigator.Android.csproj @@ -18,8 +18,8 @@ - - + + diff --git a/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Browser/ShellBottomCustomNavigator.Browser.csproj b/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Browser/ShellBottomCustomNavigator.Browser.csproj index e6fbe96..cb28ff7 100644 --- a/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Browser/ShellBottomCustomNavigator.Browser.csproj +++ b/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Browser/ShellBottomCustomNavigator.Browser.csproj @@ -12,7 +12,7 @@ - + diff --git a/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Desktop/ShellBottomCustomNavigator.Desktop.csproj b/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Desktop/ShellBottomCustomNavigator.Desktop.csproj index e06faf3..0f26b48 100644 --- a/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Desktop/ShellBottomCustomNavigator.Desktop.csproj +++ b/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.Desktop/ShellBottomCustomNavigator.Desktop.csproj @@ -13,9 +13,9 @@ - + - + diff --git a/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.iOS/ShellBottomCustomNavigator.iOS.csproj b/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.iOS/ShellBottomCustomNavigator.iOS.csproj index ebb73cf..f36f18c 100644 --- a/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.iOS/ShellBottomCustomNavigator.iOS.csproj +++ b/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator.iOS/ShellBottomCustomNavigator.iOS.csproj @@ -7,7 +7,7 @@ - + diff --git a/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator/ShellBottomCustomNavigator.csproj b/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator/ShellBottomCustomNavigator.csproj index 9bf73af..c92f5fb 100644 --- a/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator/ShellBottomCustomNavigator.csproj +++ b/src/Example/ShellBottomCustomNavigator/ShellBottomCustomNavigator/ShellBottomCustomNavigator.csproj @@ -12,16 +12,16 @@ - - - - + + + + - - - - - + + + + + diff --git a/src/Example/ShellExample/ShellExample.Android/ShellExample.Android.csproj b/src/Example/ShellExample/ShellExample.Android/ShellExample.Android.csproj index ac3cbd1..736f66a 100644 --- a/src/Example/ShellExample/ShellExample.Android/ShellExample.Android.csproj +++ b/src/Example/ShellExample/ShellExample.Android/ShellExample.Android.csproj @@ -26,7 +26,7 @@ - + diff --git a/src/Example/ShellExample/ShellExample.Desktop/ShellExample.Desktop.csproj b/src/Example/ShellExample/ShellExample.Desktop/ShellExample.Desktop.csproj index fefcfa2..020f651 100644 --- a/src/Example/ShellExample/ShellExample.Desktop/ShellExample.Desktop.csproj +++ b/src/Example/ShellExample/ShellExample.Desktop/ShellExample.Desktop.csproj @@ -11,9 +11,9 @@ - + - + diff --git a/src/Example/ShellExample/ShellExample.Web/ShellExample.Web.csproj b/src/Example/ShellExample/ShellExample.Web/ShellExample.Web.csproj index 1d23028..0d3e573 100644 --- a/src/Example/ShellExample/ShellExample.Web/ShellExample.Web.csproj +++ b/src/Example/ShellExample/ShellExample.Web/ShellExample.Web.csproj @@ -12,8 +12,8 @@ - - + + diff --git a/src/Example/ShellExample/ShellExample.iOS/ShellExample.iOS.csproj b/src/Example/ShellExample/ShellExample.iOS/ShellExample.iOS.csproj index 1ef4603..faeb48c 100644 --- a/src/Example/ShellExample/ShellExample.iOS/ShellExample.iOS.csproj +++ b/src/Example/ShellExample/ShellExample.iOS/ShellExample.iOS.csproj @@ -13,7 +13,7 @@ - + diff --git a/src/Example/ShellExample/ShellExample/ShellExample.csproj b/src/Example/ShellExample/ShellExample/ShellExample.csproj index 67f83c1..9400a42 100644 --- a/src/Example/ShellExample/ShellExample/ShellExample.csproj +++ b/src/Example/ShellExample/ShellExample/ShellExample.csproj @@ -11,14 +11,14 @@ - - - + + + - - - - + + + +