Skip to content
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

RELEASES: v2.2.0.0 #75

Merged
merged 4 commits into from
May 22, 2023
Merged

RELEASES: v2.2.0.0 #75

merged 4 commits into from
May 22, 2023

Conversation

cjdutoit
Copy link
Collaborator

Closes #73
Closes #50

This PR will allow publishing of a Nuget package after a release tag has been added.

Prerequisites

Generate GitHub fine-grained personal access tokens

  • Keys can be generated here: https://github.com/settings/tokens?type=beta
    • Token name -> Your repo name + " - Token for Tagging" e.g. ADotNet - Token For Tagging
    • Expiration -> 365 days
    • Repository access -> Only select repositories -> ADotNet
    • Permissions-> Repository permissions
      • Contents -> read and write
      • Pull Requests -> read and write
  • Copy the generated token
  • Go to Settings on your repo, then Secrets and variables > Actions
  • Click on New repository secret and use GITHUB_PAT_FOR_TAGGING as name and the generated token as the value.

NuGet API keys

  • Keys can be generated here: https://www.nuget.org/account/apikeys
    • Key Name -> Your repo name
    • Expires In -> 365 days
    • Scope -> Push new packages and package versions
    • Packages -> Limit
  • Copy the generated token
  • Go to Settings on your repo, then Secrets and variables > Actions
  • Click on New repository secret and use NUGET_API_KEY as name and the generated token as the value.

@cjdutoit cjdutoit added the RELEASES Creation of new releases for software / packages label May 19, 2023
@cjdutoit cjdutoit self-assigned this May 19, 2023
@cjdutoit cjdutoit marked this pull request as draft May 19, 2023 17:57
@cjdutoit cjdutoit requested a review from hassanhabib May 22, 2023 09:22
@cjdutoit cjdutoit marked this pull request as ready for review May 22, 2023 19:52
@cjdutoit cjdutoit merged commit 83bab85 into master May 22, 2023
@cjdutoit cjdutoit deleted the users/cjdutoit/releases-2.2.0.0 branch May 28, 2023 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RELEASES Creation of new releases for software / packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RELEASES: Publish Nuget Package
2 participants