Skip to content

Commit

Permalink
auto gen notes script
Browse files Browse the repository at this point in the history
  • Loading branch information
sec committed Sep 18, 2023
1 parent 9280a37 commit 133b976
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions notes_for_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/usr/bin/env sh

strip_tag()
{
VER=`cat $1.tag | cut -c 2-`
}

echo Compiled under `uname -r -s -m -i`
echo

strip_tag installer
echo SDK $VER

strip_tag runtime
echo .NET Runtime $VER

strip_tag aspnetcore
echo ASP.NET Core Runtime $VER

TAG=`cat sdk.tag| sed s/v// | cut -d '-' -f1`
SUF=''
case "$VER" in
*-*)
SUF=-`cat sdk.tag | cut -d '-' -f2 | cut -d '.' -f1-2`
;;
*)
SUF=''
;;
esac

echo
echo Tag name for release: $TAG$SUF-`uname -m | sed s/amd/x/`-native
echo

0 comments on commit 133b976

Please sign in to comment.