83153b190b
get program to compile (Still a WIP)
2022-02-19 21:34:15 +05:30
03c02caefb
remove ProjectFile stuff
2022-02-19 18:09:51 +05:30
67f60bae11
mass renaming of gitlab to gitea
2022-02-19 17:25:38 +05:30
Ed
267cf61ef9
Remove duplicate check in
2018-12-19 17:54:00 -05:00
Ed
6f0e6ea3ca
Add SHA to versions
2018-12-18 12:56:09 -05:00
Ed
f6b3522b3f
Remove debug logs from in to avoid erroring in Concourse
2018-12-17 21:02:28 -05:00
Ed
1c2dfeddfe
Fix markdown link parsing for in
2018-12-17 19:00:43 -05:00
Ed
130c7c1c06
Bug fixes and logging
2018-12-16 23:02:46 -05:00
Ed
aa5c784d45
Get compile working
2018-12-16 21:38:30 -05:00
Alex Suraci
b5cdd2cb62
add missing printf arg
2018-09-11 16:29:35 -04:00
Alex Suraci
cae534fdd5
fix Fprintln use
2018-09-11 16:26:29 -04:00
Anton Ustyuzhanin
f211b5478b
Check if release is draft directly
2018-05-18 10:42:13 +02:00
Anton Ustyuzhanin
e420eea591
Skipping resolveTagToCommitSHA for drafts
2018-04-18 22:15:46 +02:00
Joshua Carp
b708a1ce3a
Add tag filter regex.
2018-03-03 21:31:29 -05:00
Christoph Sassenberg
d9e71688fc
Return on error to avoid dereference errors
2018-01-24 09:03:54 +01:00
Christoph Sassenberg
5819c61aa6
Pass on github client error, do not create empty commit_sha file
2018-01-21 11:03:06 +01:00
Christoph Sassenberg
7bff836cc2
Rename generated file back to commit_sha
2018-01-14 10:19:47 +01:00
Christoph Sassenberg
9968f6d17f
Add implementation, rename to target_commit
2017-12-12 11:36:37 +01:00
Etourneau Gwenn
37156df256
Create body file
2016-07-28 13:24:03 +09:00
Alex Suraci
3a7443448e
fix handling of redirect from asset download
2016-07-09 18:32:35 -07:00
Alex Suraci
27fe9d197f
back to upstream go-github
...
fixes #17
2016-01-30 11:45:49 -08:00
Alex Suraci
12aafdf3eb
versionFromDraft -> versionFromRelease
2015-10-27 15:01:02 -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
Evan Short
e3a3a53dba
More tests for errors
...
[finishes #104040604 ]
Signed-off-by: Chris Sun <lsun@pivotal.io >
2015-10-21 15:04:44 -07: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
Evan Short
22d247be7d
Remove checking for nil version on in command
...
[#102513822 ]
Signed-off-by: Toby Rumans <trumans@pivotal.io >
2015-09-11 17:07:03 -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
9b77017aaf
It's never pointers
2015-08-04 22:20:37 -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
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
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
c4436c0350
emit metadata in output
...
[#76848252 ]
Signed-off-by: Chris Brown <cbrown@pivotal.io >
2015-02-18 10:06:04 -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
2878392b08
write progress while downloading assets
...
[#76848252 ]
Signed-off-by: Alex Suraci <asuraci@pivotal.io >
2015-02-18 09:54:44 -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