Commit Graph

10 Commits

Author SHA1 Message Date
Ken Robertson
d563c2714c Add support for downloading source artifacts from Github release
This adds support for retrieving the tarball or zip source artifact from a
Github release. This is done through defining a
"params.include_source_tarball" or "params.include_source_zip" boolean setting.

With this, the resource will download the respective source artfact into the
target directory as either "source.tar.gz" or "source.zip".
2015-09-23 14:22:21 -07:00
Toby Rumans
b694a6e9c9 remove latest release from github client
[#102513822]

Signed-off-by: Evan Short <eshort@pivotal.io>
2015-09-11 17:11:52 -07:00
Alex Suraci
d2c9a5e136 clean up pointerisms, fix building real client
google github library returns *Foo in singular case and []Foo if there
are many results. seems like the best approach is to pass them around
by-value, since *Foo seems to only be so that they can return 'nil'
instead of a zero-value.
2015-08-08 11:22:43 -07:00
zachgersh
b359439b85 Add github function to download assets
- Also refactor to allow getting a tagged version
2015-08-03 22:27:31 -07:00
Alex Suraci
330d632d62 clear out any existing release assets
[#76848252]

Signed-off-by: Chris Brown <cbrown@pivotal.io>
2015-02-20 11:06:47 -08:00
Alex Suraci
125bd204e4 update releases if they already exist
[#76848252]

Signed-off-by: Chris Brown <cbrown@pivotal.io>
2015-02-20 10:57:45 -08:00
Chris Brown
efbfb91683 implement /in
fetches a given list of globs from the assets.

also be durable to 'v' prefixing version tags

Signed-off-by: Alex Suraci <asuraci@pivotal.io>
2015-02-17 18:03:42 -08:00
Chris Brown
0deda9939c implement check command 2015-02-01 12:39:45 +00:00
Chris Brown
793c8a5019 test output resource 2015-01-31 23:53:38 +00:00
Chris Brown
a36b7368e7 add initial out command 2015-01-31 23:04:49 +00:00