mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
build: read version from VERSION file
This commit is contained in:
parent
27265dc465
commit
3a3c0e717f
6 changed files with 59 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
version=`cat ./VERSION`
|
||||
version=`cat ../VERSION`
|
||||
|
||||
rm -rf SourceGit.app *.zip
|
||||
|
||||
|
@ -18,4 +18,4 @@ mkdir -p SourceGit.app/Contents/MacOS
|
|||
dotnet publish ../src/SourceGit.csproj -c Release -r osx-x64 -o SourceGit.app/Contents/MacOS -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
|
||||
zip sourcegit_${version}.osx-x64.zip -r SourceGit.app -x "*/*\.dsym/*"
|
||||
|
||||
rm -rf SourceGit.app
|
||||
rm -rf SourceGit.app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue