File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ mvn clean install
99cd ..
1010
1111
12- # upload
12+ # upload repo
1313sh ./repo/upload-release.sh
1414
15+
16+ # upload release zip
17+ sh ./repo/upload-release-zip.sh
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # upload release zip
4+ sh ./repo/upload-release-zip.sh
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" standalone =" no" ?>
22<?pde ?>
33<!-- generated with https://github.com/mbarbero/fr.obeo.releng.targetplatform -->
4- <target name =" GWT Eclipse Plugin Oxygen" sequenceNumber =" 1499971792 " >
4+ <target name =" GWT Eclipse Plugin for Oxygen" sequenceNumber =" 1501537180 " >
55 <locations >
66 <location includeMode =" planner" includeAllPlatforms =" false" includeSource =" true" includeConfigurePhase =" false" type =" InstallableUnit" >
77 <unit id =" org.eclipse.license.feature.group" version =" 1.0.1.v20140414-1359" />
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ # upload release zip
3+
4+ # install utils
5+ # https://cloud.google.com/storage/docs/gsutil_install
6+
7+ # Note: allow the public to read the bucket
8+ # gsutil defacl ch -u AllUsers:R gs://gwt-eclipse-plugin
9+ # gsutil defacl set public-read gs://gwt-eclipse-plugin
10+ # gsutil -m acl ch -g AllUsers:R -r gs://gwt-eclipse-plugin
11+
12+ cd repo/target
13+
14+ mkdir downloads
15+
16+ # rename artifact
17+ cp repo-3.0.0-SNAPSHOT.zip ./downloads/repo-3.0.0.zip
18+
19+ # upload snapshot
20+ # url locaiton: http://storage.googleapis.com/gwt-eclipse-plugin/v2/release
21+ gsutil cp -r ./downloads gs://gwt-eclipse-plugin/v3/downloads
22+
23+
24+ # go back to original location
25+ cd ../..
Original file line number Diff line number Diff line change @@ -13,4 +13,7 @@ cd repo/target/repository
1313
1414# upload snapshot
1515# url locaiton: http://storage.googleapis.com/gwt-eclipse-plugin/v2/release
16- gsutil cp -r . gs://gwt-eclipse-plugin/v3/release
16+ gsutil cp -r . gs://gwt-eclipse-plugin/v3/release
17+
18+ # return to original location
19+ cd ../../..
Original file line number Diff line number Diff line change @@ -12,4 +12,7 @@ cd repo/target/repository
1212
1313# upload snapshot
1414# http://storage.googleapis.com/gwt-eclipse-plugin
15- gsutil cp index.html gs://gwt-eclipse-plugin
15+ gsutil cp index.html gs://gwt-eclipse-plugin
16+
17+ # return to original location
18+ cd ../../..
Original file line number Diff line number Diff line change @@ -12,4 +12,8 @@ cd repo/target/repository
1212
1313# upload snapshot
1414# url locaiton: http://storage.googleapis.com/gwt-eclipse-plugin/snapshot
15- gsutil cp -r . gs://gwt-eclipse-plugin/v3/snapshot
15+ gsutil cp -r . gs://gwt-eclipse-plugin/v3/snapshot
16+
17+
18+ # return to original location
19+ cd ../../..
You can’t perform that action at this time.
0 commit comments