Commit graph

6 commits

Author SHA1 Message Date
Cole Helbling bb4ef37ea5
upload_s3: improve tags handling (#202) 2023-01-20 09:42:14 -08:00
Cole Helbling 1849d9005a
upload_s3: move arguments to the top (#170) 2023-01-09 21:19:40 +00:00
Cole Helbling 12bf502bcb
upload_s3: provide git ish as argument (#169)
* upload_s3: provide git ish as argument

$GITHUB_SHA isn't the actual PR's HEAD's SHA, but a merge commit or
something.

* upload_s3: use an empty object if the file doesn't exist on s3

It's not pretty, but it works, and the md5sum of a file should never be
"null".

* release-branches: upload to `branch_${name}` instead
2023-01-09 20:38:53 +00:00
Cole Helbling eebb77900f
upload_s3: sync already-existing dir to its destination (#167)
Rather than uploading the same files to S3 twice, upload once and then
sync the directory to its other destination.
2023-01-09 18:02:14 +00:00
Ana Hobden 31af68b23c
When an artifact already exists for an MD5, skip it without failure (#166) 2023-01-09 17:55:16 +00:00
Cole Helbling e9e29aacb1
release: init action to release first party PRs (#162)
* release: init action to release first party PRs

* release: check if revision has already been uploaded

We don't want to waste bandwidth on files that already exist.

* release: consolidate s3 uploading into single script; check if artifact already uploaded

* release: only upload release for PR if it has the "upload to s3" label
2023-01-09 17:02:50 +00:00