Upload to OBS for Harmattan
authorEd Page <eopage@byu.net>
Fri, 12 Aug 2011 01:20:33 +0000 (20:20 -0500)
committerEd Page <eopage@byu.net>
Fri, 12 Aug 2011 01:20:33 +0000 (20:20 -0500)
Makefile
support/obs_upload.sh [new file with mode: 0755]

index 63ca26f..9479d93 100644 (file)
--- 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
 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)
        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 (executable)
index 0000000..649f9f3
--- /dev/null
@@ -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