Skip to content

Commit

Permalink
Merge branch 'v2_develop' into v2_release
Browse files Browse the repository at this point in the history
  • Loading branch information
tig committed Aug 6, 2024
2 parents deaf03e + 1b973ee commit 9825cb6
Show file tree
Hide file tree
Showing 285 changed files with 15,794 additions and 11,539 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and publish API docs

on:
push:
branches: [main, v2_develop]
branches: [v1_release, v2_develop]

permissions:
id-token: write
Expand All @@ -17,11 +17,11 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
if: github.ref_name == 'main' || github.ref_name == 'develop'
#if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop'
uses: actions/checkout@v4

- name: DocFX Build
if: github.ref_name == 'main' || github.ref_name == 'develop'
#if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop'
working-directory: docfx
run: |
dotnet tool install -g docfx
Expand All @@ -31,17 +31,17 @@ jobs:
continue-on-error: false

- name: Setup Pages
if: github.ref_name == 'main' || github.ref_name == 'develop'
#if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop'
uses: actions/configure-pages@v5

- name: Upload artifact
if: github.ref_name == 'main' || github.ref_name == 'develop'
#if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop'
uses: actions/upload-pages-artifact@v3
with:
path: docfx/_site

- name: Deploy to GitHub Pages
if: github.ref_name == 'main' || github.ref_name == 'develop'
if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop'
id: deployment
uses: actions/deploy-pages@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish Terminal.Gui

on:
push:
branches: [ main, develop, v2_release, v2_develop ]
branches: [ v1_release, v1_develop, v2_release, v2_develop ]
tags:
- v*
paths-ignore:
Expand All @@ -19,13 +19,13 @@ jobs:
fetch-depth: 0 # fetch-depth is needed for GitVersion

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v1
uses: gittools/actions/gitversion/setup@v2
with:
versionSpec: '5.x'
includePrerelease: true

- name: Determine Version
uses: gittools/actions/gitversion/execute@v1
uses: gittools/actions/gitversion/execute@v2
with:
useConfigFile: true
#additionalArguments: /b develop
Expand Down
2 changes: 1 addition & 1 deletion CommunityToolkitExample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ private static void Main (string [] args)
Services = ConfigureServices ();
Application.Init ();
Application.Run (Services.GetRequiredService<LoginView> ());
Application.Top.Dispose();
Application.Top?.Dispose();
Application.Shutdown ();
}

Expand Down
25 changes: 14 additions & 11 deletions GitVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ mode: ContinuousDeployment
tag-prefix: '[vV]'
continuous-delivery-fallback-tag: dev
branches:
develop:
mode: ContinuousDeployment
tag: dev
regex: develop
source-branches:
- main
pre-release-weight: 100

v2_develop:
mode: ContinuousDeployment
tag: dev
Expand All @@ -25,16 +17,27 @@ branches:
is-release-branch: true
source-branches: ['v2_develop']

v1_develop:
mode: ContinuousDeployment
tag: dev
regex: v1_develop
source-branches:
- v1_release
pre-release-weight: 100

v1_release:
mode: ContinuousDeployment
regex: v1_release
is-release-branch: true
source-branches: ['v1_develop']

pull-request:
mode: ContinuousDeployment
tag: PullRequest.{BranchName}
increment: Inherit
tag-number-pattern: '[/-](?<number>\d+)'
regex: ^(pull|pull\-requests|pr)[/-]
source-branches:
- develop
- main
- release
- v2_develop
- v2_release
- feature
Expand Down
3 changes: 0 additions & 3 deletions ReactiveExample/FodyWeavers.xml

This file was deleted.

26 changes: 0 additions & 26 deletions ReactiveExample/FodyWeavers.xsd

This file was deleted.

Loading

0 comments on commit 9825cb6

Please sign in to comment.