@buildinternet/uploads 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/github.js +5 -0
- package/package.json +1 -1
package/dist/github.js
CHANGED
|
@@ -99,6 +99,11 @@ export function ghMetadataForBranch(repo, branch, now = new Date()) {
|
|
|
99
99
|
"gh.kind": "branch",
|
|
100
100
|
"gh.branch": branchLower,
|
|
101
101
|
"gh.staged-at": now.toISOString().replace(/\.\d{3}Z$/, "Z"),
|
|
102
|
+
// Lifecycle tag (issue #339): flipped to "promoted" by server-side
|
|
103
|
+
// promotion, so "in-flight staged media" is a plain equality query
|
|
104
|
+
// (`meta.gh.status=staged`) — the metadata filter API can't express
|
|
105
|
+
// "gh.promoted-at absent".
|
|
106
|
+
"gh.status": "staged",
|
|
102
107
|
};
|
|
103
108
|
}
|
|
104
109
|
/**
|