feat(ci): store latest dev build in r2 only

This commit is contained in:
Jacky 2025-05-02 03:43:48 +00:00
parent 38f4b55fcf
commit 274542fc7d
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
2 changed files with 4 additions and 5 deletions

View file

@ -47,7 +47,7 @@ func getDevBuild() (data TRelease, err error) {
}
shortSHA := commit.SHA[:7]
resp, err = http.Get(fmt.Sprintf("%s/dev-builds/%s", CloudflareWorkerAPI, shortSHA))
resp, err = http.Get(fmt.Sprintf("%s/dev-builds", CloudflareWorkerAPI))
if err != nil {
return
}
@ -66,7 +66,7 @@ func getDevBuild() (data TRelease, err error) {
data = TRelease{
TagName: "sha-" + shortSHA,
Name: shortSHA,
Name: "sha-" + shortSHA,
Body: commit.Commit.Message,
Type: ReleaseTypeDev,
PublishedAt: commit.Commit.Committer.Date,