update: specify the file name of generated deb package

This commit is contained in:
leo 2024-04-16 14:38:26 +08:00
parent ebf139de68
commit de5a60c6dd

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
rm -rf SourceGit resources/deb/opt rm -rf SourceGit resources/deb/opt *.deb
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
mkdir -p resources/deb/opt/sourcegit mkdir -p resources/deb/opt/sourcegit
@ -11,4 +11,4 @@ chmod -R 755 resources/deb
rm -rf SourceGit rm -rf SourceGit
sudo dpkg-deb --build resources/deb sudo dpkg-deb --build resources/deb ./sourcegit_8.8_amd64.deb