mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-25 21:07:20 -08:00
146f383aae
* enhance: ensure LF line endings used with package manifests * enhance: depend on shared object instead of package Back in211c263
, I changed the dependencies to depend on package instead of shared object. This worked well, but introduced some problems for distros other than Fedora (81f76f0
). I did this because of problems with the arm64 package, but now I think `__isa_bits` is a reasonable workaround. * refactor: remove pointless variable checks `set -u` was introduced in6461765
16 lines
423 B
Bash
Executable file
16 lines
423 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o
|
|
set -u
|
|
set pipefail
|
|
|
|
cd build
|
|
|
|
mkdir -p SourceGit.app/Contents/Resources
|
|
mv SourceGit SourceGit.app/Contents/MacOS
|
|
cp resources/app/App.icns SourceGit.app/Contents/Resources/App.icns
|
|
sed "s/SOURCE_GIT_VERSION/$VERSION/g" resources/app/App.plist > SourceGit.app/Contents/Info.plist
|
|
rm -rf SourceGit.app/Contents/MacOS/SourceGit.dsym
|
|
|
|
zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit.app
|