mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-28 22:03:30 +03:00
upload debs to s3
This commit is contained in:
parent
04524fbc2c
commit
28abbda9dd
@ -233,8 +233,6 @@ BUNDLE_DIR=$(readlink -f "$PWD/../target/release/bundle")
|
|||||||
RELEASE_DIR="$DIST/$OS/$ARCH"
|
RELEASE_DIR="$DIST/$OS/$ARCH"
|
||||||
mkdir -p "$RELEASE_DIR"
|
mkdir -p "$RELEASE_DIR"
|
||||||
|
|
||||||
find $RELEASE_DIR -type f
|
|
||||||
|
|
||||||
if [ "$OS" = "macos" ]; then
|
if [ "$OS" = "macos" ]; then
|
||||||
MACOS_DMG="$(find "$BUNDLE_DIR/dmg" -depth 1 -type f -name "*.dmg")"
|
MACOS_DMG="$(find "$BUNDLE_DIR/dmg" -depth 1 -type f -name "*.dmg")"
|
||||||
MACOS_UPDATER="$(find "$BUNDLE_DIR/macos" -depth 1 -type f -name "*.tar.gz")"
|
MACOS_UPDATER="$(find "$BUNDLE_DIR/macos" -depth 1 -type f -name "*.tar.gz")"
|
||||||
@ -252,15 +250,18 @@ elif [ "$OS" = "linux" ]; then
|
|||||||
APPIMAGE="$(find $BUNDLE_DIR/appimage -name \*.AppImage)"
|
APPIMAGE="$(find $BUNDLE_DIR/appimage -name \*.AppImage)"
|
||||||
APPIMAGE_UPDATER="$(find $BUNDLE_DIR/appimage -name \*.AppImage.tar.gz)"
|
APPIMAGE_UPDATER="$(find $BUNDLE_DIR/appimage -name \*.AppImage.tar.gz)"
|
||||||
APPIMAGE_UPDATER_SIG="$(find $BUNDLE_DIR/appimage -name \*.AppImage.tar.gz.sig)"
|
APPIMAGE_UPDATER_SIG="$(find $BUNDLE_DIR/appimage -name \*.AppImage.tar.gz.sig)"
|
||||||
|
DEB="$(find $BUNDLE_DIR/deb -name \*.deb)"
|
||||||
|
|
||||||
cp "$APPIMAGE" "$RELEASE_DIR"
|
cp "$APPIMAGE" "$RELEASE_DIR"
|
||||||
cp "$APPIMAGE_UPDATER" "$RELEASE_DIR"
|
cp "$APPIMAGE_UPDATER" "$RELEASE_DIR"
|
||||||
cp "$APPIMAGE_UPDATER_SIG" "$RELEASE_DIR"
|
cp "$APPIMAGE_UPDATER_SIG" "$RELEASE_DIR"
|
||||||
|
cp "$DEB" "$RELEASE_DIR"
|
||||||
|
|
||||||
info "built:"
|
info "built:"
|
||||||
info " - $RELEASE_DIR/$(basename "$APPIMAGE")"
|
info " - $RELEASE_DIR/$(basename "$APPIMAGE")"
|
||||||
info " - $RELEASE_DIR/$(basename "$APPIMAGE_UPDATER")"
|
info " - $RELEASE_DIR/$(basename "$APPIMAGE_UPDATER")"
|
||||||
info " - $RELEASE_DIR/$(basename "$APPIMAGE_UPDATER_SIG")"
|
info " - $RELEASE_DIR/$(basename "$APPIMAGE_UPDATER_SIG")"
|
||||||
|
info " - $RELEASE_DIR/$(basename "$DEB")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
info "done! bye!"
|
info "done! bye!"
|
||||||
|
Loading…
Reference in New Issue
Block a user