Commit Graph

16 Commits

Author SHA1 Message Date
Alex Suraci
25bbb30fd6 fix cmd/out 2016-09-27 12:35:26 -07:00
Adham Helal
ee96e0d46b Add functionality to support Release and Prerelease together 2016-09-15 16:31:32 +02:00
Adham Helal
cc5e9dc7f5 Support pre release 2016-08-01 14:23:39 +02: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
e19842d3be source.drafts forces releases to be drafts
this makes all versions emitted and detected by the resource be
consistently drafts. a separate non-draft resource should be used for
publishing non-draft releases.
2015-10-27 09:26:09 -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
JT Archie
b2eee37237 support draft releases for in and out
* in will pull in the latest release, even if draft. It will not create
  the files `tag` and `version`, if no tag is defined on the draft
  release.
* out will push a release in a draft state when provided as a param

[#102513822]

Signed-off-by: David Morhovich <dmorhovich@pivotal.io>
2015-10-20 18:16:59 -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
Alex Suraci
2039bb67c8 add an 'i' 2015-07-25 08:39:12 -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
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
Alex Suraci
3dc650adc8 add metadata to in command output
[#76848252]

Signed-off-by: Chris Brown <cbrown@pivotal.io>
2015-02-18 09:55:42 -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
a36b7368e7 add initial out command 2015-01-31 23:04:49 +00:00