Skip to content

Commit

Permalink
Update version and make_new_release script
Browse files Browse the repository at this point in the history
tarball now include lsp and it is the .Net 7 version
  • Loading branch information
maxime-esa committed Nov 26, 2022
1 parent 78d45c3 commit 55b2680
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion asn1scc/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ let printVersion () =
//let fvi = System.Diagnostics.FileVersionInfo.GetVersionInfo(assembly.Location);
//let version = fvi.FileVersion;

let version = "4.4.0.2"
let version = "4.5.0.0"
printfn "asn1scc version %s\n" version
()

Expand Down
8 changes: 4 additions & 4 deletions make_new_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if [ $# -ne 1 ] ; then
exit 1
fi
OLD_TARBALL="$1"
echo "[-] Building release version..."
echo "[-] Building release version (including lsp)..."
make -f Makefile.debian publish >make.log 2>&1 || {
echo "[x] Failed - please check make.log"
exit 1
Expand All @@ -23,9 +23,9 @@ cd asn1scc || {
exit 1
}
rm -rf ./*.stg
rm -rf ../../asn1scc/bin/Release/net6.0/linux-x64/publish
cp -a ../../asn1scc/bin/Release/net6.0/linux-x64/* .
rm asn1.exe
cp -a ../../asn1scc/bin/Release/net7.0/linux-x64/publish/* .
cp -a ../../lsp/Server/Server/bin/Release/net7.0/linux-x64/publish/* .
rm -f asn1.exe
VERSION="$(./asn1scc -v | head -1 | awk '{print $NF}')"
cd ../
echo "[-] Packing new release tarball..."
Expand Down

0 comments on commit 55b2680

Please sign in to comment.