mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
Merge pull request #101 from gadfly3173/fix/linux-tar
build: copy .icns file into Linux archive
This commit is contained in:
commit
df79e16f6c
1 changed files with 2 additions and 0 deletions
|
@ -8,10 +8,12 @@ rm -rf SourceGit *.tar.gz resources/deb/opt *.deb *.rpm
|
||||||
# Compile
|
# Compile
|
||||||
dotnet publish ../src/SourceGit.csproj -c Release -r linux-x64 -o SourceGit -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
|
dotnet publish ../src/SourceGit.csproj -c Release -r linux-x64 -o SourceGit -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
|
||||||
mv SourceGit/SourceGit SourceGit/sourcegit
|
mv SourceGit/SourceGit SourceGit/sourcegit
|
||||||
|
cp resources/app/App.icns SourceGit/sourcegit.icns
|
||||||
rm -f SourceGit/*.dbg
|
rm -f SourceGit/*.dbg
|
||||||
|
|
||||||
# General Linux archive
|
# General Linux archive
|
||||||
tar -zcvf sourcegit_${version}.linux-x64.tar.gz SourceGit
|
tar -zcvf sourcegit_${version}.linux-x64.tar.gz SourceGit
|
||||||
|
rm -f SourceGit/sourcegit.icns
|
||||||
|
|
||||||
# Debain/Ubuntu package
|
# Debain/Ubuntu package
|
||||||
mkdir -p resources/deb/opt/sourcegit/
|
mkdir -p resources/deb/opt/sourcegit/
|
||||||
|
|
Loading…
Reference in a new issue