From f1f483c7e1512f39c8da26e0b0432277a544b3d4 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 11 Aug 2011 20:22:02 -0500 Subject: [PATCH] Upload to OBS for Harmattan --- Makefile | 1 + support/obs_upload.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100755 support/obs_upload.sh diff --git a/Makefile b/Makefile index 3dd83f7..1266b05 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,7 @@ package: $(OBJ) $(ICONS) $(SETUP_FILES) $(DESKTOP_FILES) upload: dput diablo-extras-builder $(DIST_BASE_PATH)_diablo/$(PROJECT_NAME)*.changes dput fremantle-extras-builder $(DIST_BASE_PATH)_fremantle/$(PROJECT_NAME)*.changes + ./support/obs_upload.sh $(PROJECT_NAME) harmattan dist_harmattan cp $(DIST_BASE_PATH)_ubuntu/*.deb www/$(PROJECT_NAME).deb lint: $(OBJ) diff --git a/support/obs_upload.sh b/support/obs_upload.sh new file mode 100755 index 0000000..649f9f3 --- /dev/null +++ b/support/obs_upload.sh @@ -0,0 +1,7 @@ +cp $3/$1_*.dsc $3/$1_*.tar.gz ../../osc/home:epage:$2/$1 + +pushd ../../osc/home:epage:$2/$1 + +osc addremove && osc commit + +popd -- 1.7.9.5