Skip to content

Commit

Permalink
collect notes
Browse files Browse the repository at this point in the history
  • Loading branch information
aloneguid committed Sep 27, 2024
1 parent 5c55f6a commit 12a6d00
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 32 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,28 +231,4 @@ jobs:
name: managed
path: |
managed/IronCompress/bin/Release/*
publish:
needs: [test-managed, build-managed]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
environment: nuget
steps:

- uses: actions/download-artifact@v4
with:
name: managed
path: pub/managed/

- name: push to nuget.org
run: dotnet nuget push pub/managed/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

- name: create gh release
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/master'
with:
tag_name: ${{ env.VERSION }}
name: ${{ env.VERSION }}
files: "pub/managed/*.nupkg"
generate_release_notes: true

docs/release-notes.md
17 changes: 15 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,18 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ steps.runid.outputs.run-id }}

- name: 📦 Publish to NuGet
run: dotnet nuget push managed/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
- name: debug
run: ls -R

# - name: 📦 Publish to NuGet
# run: dotnet nuget push managed/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

# - name: create gh release
# uses: softprops/action-gh-release@v1
# if: github.ref == 'refs/heads/master'
# with:
# tag_name: ${{ env.VERSION }}
# name: ${{ env.VERSION }}
# files: "pub/managed/*.nupkg"
# generate_release_notes: true

3 changes: 0 additions & 3 deletions docs/release-history.md

This file was deleted.

3 changes: 3 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 1.6.1

Mostly stability improvements
7 changes: 5 additions & 2 deletions managed/IronCompress.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IronCompress.Test", "IronCo
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E019ACDF-9076-45D4-AD1B-702285BD178D}"
ProjectSection(SolutionItems) = preProject
..\.github\workflows\full.yml = ..\.github\workflows\full.yml
..\.github\workflows\build.yml = ..\.github\workflows\build.yml
..\.github\workflows\prerelease.yml = ..\.github\workflows\prerelease.yml
..\docs\README.md = ..\docs\README.md
..\.github\workflows\release.yml = ..\.github\workflows\release.yml
..\docs\release-notes.md = ..\docs\release-notes.md
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IronCompress.Benchmarks", "IronCompress.Benchmarks\IronCompress.Benchmarks.csproj", "{FB951E3A-3B24-4BB3-89D0-23B4E6013C86}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IronCompress.Benchmarks", "IronCompress.Benchmarks\IronCompress.Benchmarks.csproj", "{FB951E3A-3B24-4BB3-89D0-23B4E6013C86}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down

0 comments on commit 12a6d00

Please sign in to comment.