File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 env :
4343 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4444 run : |
45+ # Create a tag using today's date
4546 TAG_NAME="v$(date +'%Y.%m.%d')"
46- gh release create "$TAG_NAME" ./artifacts/*.nupkg --title "Release $TAG_NAME" --notes "Automated release of NuGet package."
47+ # Get the NuGet package file name from the artifacts folder and remove its extension for the release title
48+ NUPKG_FILE=$(basename $(ls ./artifacts/*.nupkg))
49+ RELEASE_NAME="${NUPKG_FILE%.*}"
50+ # Get the newest markdown file from the Releases folder and read its content as release notes
51+ NEWEST_NOTES=$(ls -t Releases/*.md | head -n1)
52+ RELEASE_NOTES=$(cat "$NEWEST_NOTES")
53+ # Create the GitHub release using the tag, NuGet package and release notes
54+ gh release create "$TAG_NAME" ./artifacts/*.nupkg --title "$RELEASE_NAME" --notes "$RELEASE_NOTES"
4755 shell : bash
Original file line number Diff line number Diff line change 22<package >
33 <metadata >
44 <id >MaIN.NET</id >
5- <version >0.0.6-alpha </version >
5+ <version >0.0.7-pre </version >
66 <authors >Wisedev</authors >
77 <owners >Wisedev</owners >
88 <icon >favicon.png</icon >
9- <description >MaIN.NET</description >
9+ <description >MaIN.NET - Package designed to streamline the integration of large language models (LLMs) into advanced AI workflows. </description >
1010 <license type =" expression" >MIT</license >
1111 <projectUrl >https://github.com/wisedev-code/M.A.I.N</projectUrl >
1212 <repository url =" https://github.com/wisedev-code/M.A.I.N" type =" git" />
You can’t perform that action at this time.
0 commit comments