Commit Graph

11 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
8508409f8a document the github access token scope
[finishes #102513822]

Signed-off-by: Evan Short <eshort@pivotal.io>
2015-09-11 17:39:28 -07:00
Chris Brown
70d07f1a4c add usage examples to README 2015-08-21 11:35:43 -07:00
Zach
1ac06d9b3e Be more explicit about when access token is used.
Used during both the in and the out now.
2015-08-04 22:41:55 -07:00
Chris Brown
3d99be0bca users can provide commitish when creating a release
[finishes #99189274]

Signed-off-by: Chris Walter <cwalter@pivotal.io>
2015-07-23 14:50:59 -07:00
Dr Nic Williams
5779770b0b [in] create /version file based on git tag name 2015-04-25 12:46:22 -07:00
Dr Nic Williams
f224bc5a45 [in] creates file 'tag' containing git tag for the release being fetched 2015-04-25 12:28:47 -07:00
Alex Suraci
4dbe94c715 access token is now optional
* fix some err checks
* github api url can be configured (e.g. point it at an enterprise instance)

[finishes #89638752 #89633744]

Signed-off-by: Chris Brown <cbrown@pivotal.io>
2015-03-04 12:28:37 -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
6780afd2ca add README docs 2015-01-31 22:41:18 +00:00
Chris Brown
26fcdb1793 implement empty check 2015-01-31 20:10:03 +00:00