Closed asulwer closed 2 days ago
No, we need to update the changelog with the fixes we have fixed
I will open the PR for the changelog.
We also need to define the package name 😅
We also need to generate another sign key. We can keep the same file name just generate another one and update the references in the manifests
are you creating a PR to update the changelog AND signkey?
No just the changelog, if you want to do the sign key feel free, too late here today, will catch up tomorrow
no problem
In case you dont know how to generate the base64 and import it to the secrets heres how to do it
In the end ipen the file copy its contents and add to the secret in github
# Generate the .snk file using sn.exe
# Make sure the Developer Command Prompt for Visual Studio is available
& "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.29.30037\bin\Hostx64\x64\sn.exe" -k RulesEngine-publicKey.snk
# Convert the .snk file to a base64 string
$snkPath = "RulesEngine-publicKey.snk"
$base64String = [Convert]::ToBase64String([IO.File]::ReadAllBytes($snkPath))
# Output the base64 string to a file
$base64String > "RulesEngine-publicKey.txt"
# Also print the base64 string to the console
Write-Output $base64String
sn.exe
tool to create a new strong-name key file (RulesEngine-publicKey.snk
)..snk
file and converts its content to a base64-encoded string.RulesEngine-publicKey.txt
) and prints it to the console.sn.exe
if it differs based on your Visual Studio installation.completed
v6.0.0 published to nuget and package created for github
NOW! lets make some changes and break this thing! JK
nice, all good with the automation?
I noticed you created, the release resources, you don't need to do it, just create the tag when the build complete it will generate a release automatically, so u only need to add some text there if needed
i couldn't figure out how to create only a tag.
oh no, what I mean is, that you don't need to attach binaries, the pipeline will do that for you. if you see we will have 2 binaries there, there no need 😅
i had to create a release to create the tag. i think creating it as prerelease to create the tag and deleting the prerelease was an option i saw someone mention in the community
Yes, you can create a tag in GitHub without creating a release. Here’s how you can create a tag without a release using Git commands.
Open your terminal or command prompt.
Navigate to your local repository.
Create a tag using the following command:
git tag <tag-name>
For example, to create a tag named v1.0.0
, you would use:
git tag v1.0.0
Push the tag to GitHub:
git push origin <tag-name>
For example:
git push origin v1.0.0
This will create a tag in your repository without creating a release. You can see the tags in the "Tags" section of your repository on GitHub.
that will trigger the release and build and publish the nuget. when everything is ready you can edit the release with some notes. you can also create in github too, but you don't need to add the artefacts
thanks!
@RenanCarlosPereira
publish a new release and nuget package? are we ready for it?