mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-23 03:26:36 +03:00
make RPM bundles
This commit is contained in:
parent
ab941cb31f
commit
4a0cf76b53
@ -62,7 +62,7 @@
|
||||
"icons/dev/icon.icns",
|
||||
"icons/dev/icon.ico"
|
||||
],
|
||||
"targets": ["app", "dmg", "appimage", "deb", "updater", "msi"]
|
||||
"targets": ["app", "dmg", "appimage", "deb", "rpm", "updater", "msi"]
|
||||
},
|
||||
"security": {
|
||||
"csp": {
|
||||
|
@ -197,17 +197,20 @@ elif [ "$OS" = "linux" ]; then
|
||||
APPIMAGE_UPDATER="$(find $BUNDLE_DIR/appimage -name \*.AppImage.tar.gz)"
|
||||
APPIMAGE_UPDATER_SIG="$(find $BUNDLE_DIR/appimage -name \*.AppImage.tar.gz.sig)"
|
||||
DEB="$(find $BUNDLE_DIR/deb -name \*.deb)"
|
||||
RPM="$(find $BUNDLE_DIR/rpm -name \*.rpm)"
|
||||
|
||||
cp "$APPIMAGE" "$RELEASE_DIR"
|
||||
cp "$APPIMAGE_UPDATER" "$RELEASE_DIR"
|
||||
cp "$APPIMAGE_UPDATER_SIG" "$RELEASE_DIR"
|
||||
cp "$DEB" "$RELEASE_DIR"
|
||||
cp "$RPM" "$RELEASE_DIR"
|
||||
|
||||
info "built:"
|
||||
info " - $RELEASE_DIR/$(basename "$APPIMAGE")"
|
||||
info " - $RELEASE_DIR/$(basename "$APPIMAGE_UPDATER")"
|
||||
info " - $RELEASE_DIR/$(basename "$APPIMAGE_UPDATER_SIG")"
|
||||
info " - $RELEASE_DIR/$(basename "$DEB")"
|
||||
info " - $RELEASE_DIR/$(basename "$RPM")"
|
||||
elif [ "$OS" = "windows" ]; then
|
||||
WINDOWS_INSTALLER="$(find $BUNDLE_DIR/msi -name \*.msi)"
|
||||
WINDOWS_UPDATER="$(find $BUNDLE_DIR/msi -name \*.msi.zip)"
|
||||
|
Loading…
Reference in New Issue
Block a user