-
Notifications
You must be signed in to change notification settings - Fork 1
Release: two-phase dual-publish release model #322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
3fafe5a
Bump the nuget-deps group with 3 updates
dependabot[bot] a518228
Merge pull request #255 from ptr727/dependabot/nuget/dot-config/devel…
github-actions[bot] 6655830
Bump the nuget-deps group with 1 update
dependabot[bot] 280c3ab
Merge pull request #259 from ptr727/dependabot/nuget/UtilitiesTests/d…
github-actions[bot] 862f25c
Bump csharpier from 1.1.2 to 1.2.1
dependabot[bot] 74381e3
Merge pull request #264 from ptr727/dependabot/nuget/dot-config/devel…
github-actions[bot] 3aca14b
Bump Serilog.Sinks.Console from 6.0.0 to 6.1.1
dependabot[bot] 9a06f0d
Merge pull request #265 from ptr727/dependabot/nuget/Sandbox/develop/…
github-actions[bot] 7db1156
Update dependencies
ptr727 4a98e46
Merge branch 'main' into develop
ptr727 f19554a
Bump the nuget-deps group with 1 update
dependabot[bot] 907d6cc
Merge pull request #273 from ptr727/dependabot/nuget/dot-config/devel…
github-actions[bot] 25c2039
Bump the actions-deps group across 1 directory with 2 updates (#270)
dependabot[bot] 66fbc26
Bump the nuget-deps group with 1 update
dependabot[bot] 8b17948
Merge pull request #275 from ptr727/dependabot/nuget/dot-config/devel…
github-actions[bot] 5699f0a
Bump the nuget-deps group with 1 update
dependabot[bot] b366e92
Merge pull request #278 from ptr727/dependabot/nuget/dot-config/devel…
github-actions[bot] 52d6b71
.NET 10 and AOT support
ptr727 6527023
Build pipeline also needs to be 10.0
ptr727 c4a686c
gitignore
ptr727 78b8bce
Merge branch 'main' into develop
ptr727 2554056
rider
ptr727 36266b7
[WIP] Update changes based on feedback from pull request #279 (#280)
Copilot 8b1993e
[WIP] Fix issues based on review feedback for pull request 279 (#281)
Copilot 991ce1c
Update UtilitiesTests/DownloadAsyncTests.cs
ptr727 b1be6c5
[WIP] WIP address feedback from review on 'Develop' pull request (#283)
Copilot 2f0c71e
[WIP] Address feedback from review on pull request #279 (#282)
Copilot 1cadc44
Initial plan (#284)
Copilot 42eae42
Initial plan (#285)
Copilot 430c144
Bump dependabot/fetch-metadata from 2 to 3 in the actions-deps group …
dependabot[bot] 0e65bd2
Convert to two-phase dual-publish release model (#320)
ptr727 02aa5d3
Merge develop into main: two-phase dual-publish release model
ptr727 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,43 +1,72 @@ | ||
| # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
| # | ||
| # Every ecosystem appears **twice**: once with `target-branch: "main"` | ||
| # and once with `target-branch: "develop"`. Dependabot will open | ||
| # parallel PRs against each branch, so both stay current on | ||
| # dependency versions independently of the develop → main release | ||
| # cadence. | ||
| # | ||
| # Why dual-target and not develop-only: | ||
| # - `develop` is the integration branch and ships content forward to | ||
| # `main` through merge-commit releases, but the time between releases | ||
| # can be long (a feature branch may sit on develop for weeks). | ||
| # - Consumers (NuGet.org, GitHub releases) pull from `main` directly. | ||
| # If `main` only got dependency bumps via the next develop → main | ||
| # release, those consumers would ship outdated code in the interim. | ||
| # | ||
| # The merge-bot's `case` statement in | ||
| # .github/workflows/merge-bot-pull-request.yml dispatches the merge | ||
| # method per base ref (squash on develop, merge on main) so both bases | ||
| # auto-merge cleanly. `develop` remains strictly forward-only: there | ||
| # are no main → develop back-merges; each branch absorbs its own | ||
| # Dependabot PRs independently. | ||
| # | ||
| # Security update PRs (CVE-driven) are opened by Dependabot against | ||
| # the repo default branch (`main`) regardless of any `target-branch` | ||
| # config — the `case` statement handles them in the same code path. | ||
| version: 2 | ||
| updates: | ||
|
|
||
| # main | ||
| - package-ecosystem: "nuget" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| nuget-deps: | ||
| patterns: | ||
| - "*" | ||
| - package-ecosystem: "github-actions" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| actions-deps: | ||
| patterns: | ||
| - "*" | ||
| # ----- nuget ----- | ||
|
|
||
| # develop | ||
| - package-ecosystem: "nuget" | ||
| target-branch: "develop" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| nuget-deps: | ||
| patterns: | ||
| - "*" | ||
| - package-ecosystem: "github-actions" | ||
| target-branch: "develop" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| actions-deps: | ||
| patterns: | ||
| - "*" | ||
| - package-ecosystem: "nuget" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| nuget-deps: | ||
| patterns: | ||
| - "*" | ||
|
|
||
| - package-ecosystem: "nuget" | ||
| target-branch: "develop" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| nuget-deps: | ||
| patterns: | ||
| - "*" | ||
|
|
||
| # ----- github-actions ----- | ||
|
|
||
| - package-ecosystem: "github-actions" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| actions-deps: | ||
| patterns: | ||
| - "*" | ||
|
|
||
| - package-ecosystem: "github-actions" | ||
| target-branch: "develop" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| actions-deps: | ||
| patterns: | ||
| - "*" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| name: Build BYOB date badge task | ||
|
|
||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| # Logical branch this badge run is for. The badge only updates on | ||
| # `main`; the publisher passes the branch explicitly so a scheduled | ||
| # run building `develop` doesn't try to write the main badge. Required | ||
| # (no `github.ref_name` fallback) so the gate can't silently misfire. | ||
| branch: | ||
| required: true | ||
| type: string | ||
|
|
||
| jobs: | ||
|
|
||
| date-badge: | ||
| name: Build BYOB date badge job | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
|
|
||
| - name: Get current date step | ||
| id: date | ||
| run: | | ||
| set -euo pipefail | ||
| echo "date=$(date)" >> "$GITHUB_OUTPUT" | ||
|
|
||
| - name: Build BYOB date badge step | ||
| if: ${{ inputs.branch == 'main' }} | ||
| uses: RubbaBoy/BYOB@a4919104bc0ec7cfd7f113e42c405cc45246f2a4 # v1 | ||
| with: | ||
| name: lastbuild | ||
| label: "Last Build" | ||
| icon: "github" | ||
| status: ${{ steps.date.outputs.date }} | ||
| color: "blue" | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.