Publish a version after each successful build on the development branch
Actually we have to include the war (nearly 70Mo) on each project to versioned the print.
Is it possible to have a revision with the date ?
We do it for GeoMapFish here: https://github.com/camptocamp/c2cgeoportal/blob/master/travis/deploy.sh https://github.com/camptocamp/c2cgeoportal/blob/master/.travis.yml#L44 https://github.com/camptocamp/c2cgeoportal/blob/master/.travis.yml#L7
When gradle deploys a version with -SNAPSHOT at the end then a datestamp is added. Is this sufficient?
Jesse
On Thu, Nov 20, 2014 at 2:13 PM, Stéphane Brunner [email protected] wrote:
Actually we have to include the war (nearly 70Mo) on each project to versioned the print.
Is it possible to have a revision with the date ?
We do it for GeoMapFish here: https://github.com/camptocamp/c2cgeoportal/blob/master/travis/deploy.sh
— Reply to this email directly or view it on GitHub https://github.com/mapfish/mapfish-print/issues/166.
Probably yes, just two questions:
- It is done automatically,
- As I see no, than who can do it ?
One thing I really don't want is to have any binaries in the repository, it is already very large and adding binaries will make it grow very fast.. If you want that you (or I) can create a separate mapfish repository to contain them. However ./gradlew uploadArchives is supposed to upload them to https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-standalone/2.1-SNAPSHOT/ and date each snapshot. I will test it out to see if it works.
If you want more control you can make the new repository and we can add a gradle task for adding it.
Jesse
On Thu, Nov 20, 2014 at 3:27 PM, Stéphane Brunner [email protected] wrote:
Probably yes, just two questions:
- It is done automatically,
- As I see no, than who can do it ?
— Reply to this email directly or view it on GitHub https://github.com/mapfish/mapfish-print/issues/166#issuecomment-63815227 .
Publishing on sonartype looks good, but I didn't see any war is it also possible to publish it, or is there a way to build it ?
The war is published. YOu can see all the mapfish 3.0 release artifacts at : http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.mapfish.print%22%20AND%20v%3A%223.0%22
All of those are published.
Jesse
On Thu, Nov 20, 2014 at 6:08 PM, Stéphane Brunner [email protected] wrote:
Publishing on sonartype looks good, but I didn't see any war is it also possible to publish it, or is there a way to build it ?
— Reply to this email directly or view it on GitHub https://github.com/mapfish/mapfish-print/issues/166#issuecomment-63842846 .
Excellent, thanks
I just try and I get an Access denied you probably should give me an access, my username is sbrunner.
And we also should add a date in the files name.