Commit Graph

27 Commits

Author SHA1 Message Date
67f60bae11 mass renaming of gitlab to gitea 2022-02-19 17:25:38 +05:30
Ed
9eb0ab0a0f Begin working on tests 2018-12-19 18:00:25 -05:00
Adham Helal
f6d82f6c58 Fix the test context and it :| 2016-09-27 14:50:31 +02:00
Adham Helal
04bc09c676 fmt and typos 2016-09-22 22:22:42 +02:00
Adham Helal
ddb19ff3de Add pre-release out tests 2016-09-22 13:59:34 +02:00
Alex Suraci
2f7e52d3cb re-open file on each attempt
otherwise it'll be partially upload if the connection was interrupted
2016-07-23 09:58:49 -07:00
Alex Suraci
084c3e2359 fix upload retry logic
[#126926555]
2016-07-23 09:39:01 -07:00
Alex Suraci
3a7443448e fix handling of redirect from asset download 2016-07-09 18:32:35 -07:00
Evan Short
7c95978718 retry 10 times if upload release assets fails
[#121455813]

Signed-off-by: Yucheng Tu <ytu@pivotal.io>
2016-06-14 10:28:26 -07:00
Evan Short
b0114ca8b4 delete assets that failed to upload
[#121455813]

Signed-off-by: Yucheng Tu <ytu@pivotal.io>
2016-06-13 17:45:11 -07:00
Alex Suraci
27fe9d197f back to upstream go-github
fixes #17
2016-01-30 11:45:49 -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
6c3c5e9cbd if no body specified, do not update it value
[#102280580]
2015-10-27 14:47:42 -07:00
Alex Suraci
d30a1d0197 convert existing release to/from draft 2015-10-27 14:47:12 -07: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
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
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
Chris Brown
c9acb4dfc6 return an error if any of the globs do not match
[finishes #91868284]

Signed-off-by: Toby Rumans <trumans@pivotal.io>
2015-04-06 11:22:09 -07:00
Alex Suraci
4d368b7191 dereference pointer before printing it
[finishes #89575278]

Signed-off-by: Chris Brown <cbrown@pivotal.io>
2015-03-03 17:59:12 -08:00
Alex Suraci
2ab978b6ea add logging to /out
Signed-off-by: Chris Brown <cbrown@pivotal.io>
2015-02-20 14:38:49 -08: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
Alex Suraci
c4436c0350 emit metadata in output
[#76848252]

Signed-off-by: Chris Brown <cbrown@pivotal.io>
2015-02-18 10:06:04 -08:00
Chris Brown
793c8a5019 test output resource 2015-01-31 23:53:38 +00:00