Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

permissions:
contents: read
contents: write

jobs:
publish:
Expand Down Expand Up @@ -39,3 +39,9 @@ jobs:

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

- name: Create GitHub Release
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ github.token }}
run: gh release create "${{ github.ref_name }}" --generate-notes --verify-tag
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ The implementation uses constant-time conditional moves (`CMov`, `CSwap`) to pre
2. Update `Version` in `src/Ed25519.csproj` for the intended release.
3. Push a tag in `vX.Y.Z` format (for example, `v1.0.5`).
4. GitHub Actions will build, test, pack, and publish `Dexcompiler.Ed25519` with `--skip-duplicate`.
5. Verify package availability on nuget.org and test `dotnet add package Dexcompiler.Ed25519` in a clean project.
5. The same tag workflow also creates a GitHub Release with autogenerated notes for that tag.
6. Verify package availability on nuget.org and test `dotnet add package Dexcompiler.Ed25519` in a clean project.

## License

Expand Down
Loading