Skip to content

Resolve "Publish package to Nuget"

Hamish Smith requested to merge 3-publish-package-to-nuget into main

Closes #3 (closed)

The combination of $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TAG in the CI YAML does not work for tag pipelines as the CI_COMMIT_BRANCH variable is not available in tag pipelines. The desired workflow for creating releases is to tag main branch and push the tag, trigger the actions. That means that the condition needs to be changed.

  • update CI YAML to remove CI_COMMIT_BRANCH from conditions for deploying nuget package and publishing
  • add link to documentation site in gitlab pages (temporary)

Once these changes are merged to main, a tag for v1.0.0. can be created and pushed so that the nuget packages are created.

Those packages can then be downloaded locally and pushed to nuget.org.

Edited by Hamish Smith

Merge request reports