From 8d4a9290ff05818bfb26d9e1b8cce7556775ea94 Mon Sep 17 00:00:00 2001 From: Stephen Denne Date: Sat, 12 Jul 2025 21:41:27 +1200 Subject: [PATCH 1/3] Clean up packaging --- .github/workflows/publish.yml | 4 +-- .../SourceGeneratorContext.csproj | 33 +++++++++---------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 76f135a..352071f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,8 +21,8 @@ jobs: - name: Restore, Build, and Pack run: | dotnet restore *.sln - dotnet build *.sln --configuration Release --no-restore - dotnet pack *.sln --configuration Release --no-build --output ./artifacts + dotnet build *.sln --configuration Release --no-restore -p:ContinuousIntegrationBuild=true + dotnet pack *.sln --configuration Release --no-build --output ./artifacts -p:ContinuousIntegrationBuild=true - name: Publish to NuGet run: dotnet nuget push ./artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate diff --git a/SourceGeneratorContext/SourceGeneratorContext.csproj b/SourceGeneratorContext/SourceGeneratorContext.csproj index c3b5395..f992cbe 100644 --- a/SourceGeneratorContext/SourceGeneratorContext.csproj +++ b/SourceGeneratorContext/SourceGeneratorContext.csproj @@ -19,6 +19,7 @@ true true + portable true @@ -30,6 +31,7 @@ README.md false MIT + true @@ -52,32 +54,29 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + - - - - - - + + + + - - - + + + + + - + - - - - - - - From 584e611cd7aa1e39e92d8d179694e3e5013fb42f Mon Sep 17 00:00:00 2001 From: Stephen Denne Date: Sat, 12 Jul 2025 21:51:57 +1200 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fbd49e..d44a746 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased][Unreleased] +### Fixed + +- Packaging ## [0.0.1-alpha][0.0.1-alpha] @@ -54,4 +57,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Diagnostic log of the source generation process and timing included. [Unreleased]: https://github.com/datacute/SourceGeneratorContext/compare/0.0.1-alpha...develop -[0.0.1-alpha]: https://github.com/datacute/SourceGeneratorContext/releases/tag/0.0.1-alpha \ No newline at end of file +[0.0.1-alpha]: https://github.com/datacute/SourceGeneratorContext/releases/0.0.1-alpha \ No newline at end of file From d2a1c46db9bfeae492ebdd9ecf218f474f83beef Mon Sep 17 00:00:00 2001 From: Stephen Denne Date: Sat, 12 Jul 2025 21:58:50 +1200 Subject: [PATCH 3/3] Updating release number --- CHANGELOG.md | 6 ++++-- version.props | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d44a746..9d5d360 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased][Unreleased] +## [Unreleased] + +## [0.0.2-alpha] - 2025-07-12 ### Fixed - Packaging -## [0.0.1-alpha][0.0.1-alpha] +## [0.0.1-alpha] - 2025-07-12 ### Added diff --git a/version.props b/version.props index ce771c6..356ac8b 100644 --- a/version.props +++ b/version.props @@ -1,6 +1,6 @@ - 0.0.1 + 0.0.2 alpha \ No newline at end of file