-
Notifications
You must be signed in to change notification settings - Fork 2
Release Procedure
This document outlines the procedure for preparing and executing a new release of the Shark WebAuthn packages.
-
Create a release branch:
git checkout -b release/X-Y-Z -
Update version in GitHub actions: Modify the following YAML files in the
.github/workflows/directory to update the version number toX.Y.Z:-
build_nuget_packages.yml: Update the/p:Versionproperty in thePackstep. -
build_template.yml: Update the/p:Versionproperty in thePackstep. -
build_docker_image.yml: Update the Docker tags for the sample application.
-
-
Commit the changes:
git add .git commit -m "Release X.Y.Z" -
Push and raise a pull request:
git push origin release/X-Y-Z -
Open a pull request on GitHub from
release/X-Y-Ztomain. -
Once the default pull request's builds are completed, the release must be manually triggered via GitHub Actions.
a. NuGet packages:
- Navigate to the Actions tab on GitHub.
- Select the NuGet workflow.
- Click Run workflow selecting the release branch.
- This will publish the libraries to both GitHub Packages and NuGet.org.
b. Docker Hub:
- Select the Build Docker image workflow.
- Click Run workflow.
- This updates the
shark-fido2-sampleimage on Docker Hub with thelatestandvX.Y.Ztags.
-
Update versions of the Shark Fido2 packages in
templates\projects\Shark.Fido2.VisualStudio.Template\content\Shark.Fido2.Sample.VisualStudio.Template.csprojproject file. Commit the changes -
Once the default pull request's builds are completed, the release of project template must be manually triggered via GitHub Action.
- Navigate to the Actions tab on GitHub.
- Select the Visual Studio Template workflow.
- Click Run workflow selecting the release branch.
- This will publish the project template to NuGet.org.
-
Complete a pull request.
-
Create GitHub release. Tag the release using the
vX.Y.Zformat (e.g.,v1.5.0) and provide a comprehensive summary of the changes, bug fixes, and new features included. -
Update demonstration portal.
- Check NuGet: Confirm all packages are updated on NuGet.org.
- Check Docker: Verify the new image tag is present on Docker Hub.
FIDO® and FIDO2® are trademarks of FIDO Alliance, Inc.