Commit Graph

24 Commits

Author SHA1 Message Date
Kris Hicks
3b050c148c Source configuration uses owner instead of user
"Owner" is the name GitHub uses in its API to reference the owner of a
repository. "User" is not correct when the owner is an organization.

This removes some confusion I've encountered over how to configure the
resource while maintaining backwards compatibility.
2017-04-10 08:52:27 -07:00
Alex Suraci
e26220556e Merge pull request #34 from mdb/improve-documentation
add example of getting a specific release version
2016-10-10 13:41:56 -07:00
Alex Suraci
a163ea098d Merge pull request #32 from ahelal/feature/pre_release
Support pre release
2016-09-27 10:51:52 -07:00
Adham Helal
ee96e0d46b Add functionality to support Release and Prerelease together 2016-09-15 16:31:32 +02:00
Mike Ball
422bf88ccc add example of getting a specific release version 2016-08-23 11:47:08 -04:00
Alex Suraci
8946b1f294 simplify body file descriptoin 2016-08-08 10:54:51 -07:00
Adham Helal
cc5e9dc7f5 Support pre release 2016-08-01 14:23:39 +02:00
Etourneau Gwenn
37156df256 Create body file 2016-07-28 13:24:03 +09:00
Maria Shaldibina
c7ac884d7e update README
[#117854649]

Signed-off-by: Jacob Frank <jfrank@pivotal.io>
2016-04-21 13:46:11 -07:00
Alex Suraci
91b8f79018 configure upload URL when github_api_url is set
[#99533974]

Signed-off-by: Corbin Halliwill <challiwill@pivotal.io>
2016-02-03 11:02:11 -08:00
Angela Chin
560637e9fd Include ability to add tag_prefix
Signed-off-by: Zachary Gershman <zgershman@pivotal.io>
2015-11-18 12:42:41 -08:00
Alex Suraci
657cb152b4 update docs 2015-10-27 09:30:26 -07:00
JT Archie
7331e0a7ad filter by drafts in the check step
The user now opts-in to getting final or draft releases. Default
behaviour is final releases.

NOTE: There is also strict filtering on only allowing semver supported tags.

Signed-off-by: David Jahn <david.a.jahn@gmail.com>
2015-10-23 10:11:15 -04:00
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