Skip to content

Commit 3eef689

Browse files
authored
✨ feature: Publish all files to release (#70)
* ✨ feature: Publish all files to release * 🐛 fix: Remove Release Notes from Commit since they may cause issues depending on the format * 📜 docs: Update CHANGELOG.md
1 parent d5e4e06 commit 3eef689

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/merge-creates-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: |
6969
git config --local user.email "github-actions[bot]@users.noreply.github.com"
7070
git config --local user.name "github-actions[bot]"
71-
git commit -a -m "🤖 automated: Changelog ${{ steps.update-changelog.outputs.version }}" -m "Release Notes: ${{ steps.update-changelog.outputs.release-notes }}"
71+
git commit -a -m "🤖 automated: Changelog ${{ steps.update-changelog.outputs.version }}"
7272
git remote set-url origin https://<PAT>@github.com/${{ github.repository }}.git
7373
git push
7474
env:

.github/workflows/tag-creates-nuget-package.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
console.log('Version:', simple)
5454
return simple
5555
56+
- name: Publish [${{ steps.getVer.outputs.result }}]
57+
run: dotnet publish ${{ github.event.repository.name }}/${{ github.event.repository.name }}.csproj -c Release
58+
5659
- name: Pack NuGet Package [${{ steps.getVer.outputs.result }}]
5760
run: dotnet pack ${{ github.event.repository.name }}/${{ github.event.repository.name }}.csproj -p:Version='${{ steps.getVer.outputs.result }}' -c Release
5861

@@ -62,6 +65,9 @@ jobs:
6265
- name: List Files (net8.0)
6366
run: ls ${{ github.event.repository.name }}/bin/Release/net8.0
6467

68+
- name: List Files (publish)
69+
run: ls ${{ github.event.repository.name }}/bin/Release/net8.0/publish
70+
6571
- name: Push Package to NuGet & GitHub Packages
6672
shell: powershell
6773
run: |
@@ -78,7 +84,7 @@ jobs:
7884
with:
7985
name: ${{ github.event.repository.name }} ${{ steps.getVer.outputs.result }}
8086
tag: ${{ github.ref_name }}
81-
artifacts: "${{ github.event.repository.name }}/bin/Release/*.nupkg,${{ github.event.repository.name }}/bin/Release/net8.0/**.dll,${{ github.event.repository.name }}/bin/Release/net8.0/**.pdb,${{ github.event.repository.name }}/bin/Release/net8.0/**.xml"
87+
artifacts: "${{ github.event.repository.name }}/bin/Release/*.nupkg,${{ github.event.repository.name }}/bin/Release/net8.0/publish/**.dll,${{ github.event.repository.name }}/bin/Release/net8.0/publish/**.pdb,${{ github.event.repository.name }}/bin/Release/net8.0/publish/**.xml"
8288
generateReleaseNotes: true
8389

8490
- name: ${{ format('Published NuGet Package [{0}]', steps.getVer.outputs.result) }}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Add all dependency `.dll's` to the release
13+
1014
## [0.6.1] - 2024-11-05
1115

1216
## [0.6.0] - 2024-11-05

0 commit comments

Comments
 (0)