fix(ci): read Draft release assets through gh
This commit is contained in:
1 parent
7b680c2d90
commit
b71daef0e3
3 files changed
+10
-2
No files matched your search
@@ -79,7 +79,9 @@ jobs:
|
||||
fi
|
||||
|
||||
mapfile -t current_assets < <(
|
||||
gh api "repos/${GITHUB_REPOSITORY}/releases/tags/${CURRENT_TAG}" \
|
||||
gh release view "$CURRENT_TAG" \
|
||||
--repo "$GITHUB_REPOSITORY" \
|
||||
--json assets \
|
||||
--jq '.assets[].name'
|
||||
)
|
||||
asset_ready="$(
|
||||
|
||||
@@ -119,7 +119,9 @@ jobs:
|
||||
fi
|
||||
|
||||
mapfile -t current_assets < <(
|
||||
gh api "repos/${GITHUB_REPOSITORY}/releases/tags/${CURRENT_TAG}" \
|
||||
gh release view "$CURRENT_TAG" \
|
||||
--repo "$GITHUB_REPOSITORY" \
|
||||
--json assets \
|
||||
--jq '.assets[].name'
|
||||
)
|
||||
asset_ready="$(
|
||||
|
||||
@@ -20,6 +20,10 @@ describe("desktop release workflow", () => {
|
||||
const releasePlan = mobileWorkflow.indexOf(" - name: Compare with previous formal release");
|
||||
expect(regressionTests).toBeGreaterThanOrEqual(0);
|
||||
expect(regressionTests).toBeLessThan(releasePlan);
|
||||
expect(workflow).toContain('gh release view "$CURRENT_TAG"');
|
||||
expect(mobileWorkflow).toContain('gh release view "$CURRENT_TAG"');
|
||||
expect(workflow).not.toContain('releases/tags/${CURRENT_TAG}');
|
||||
expect(mobileWorkflow).not.toContain('releases/tags/${CURRENT_TAG}');
|
||||
});
|
||||
|
||||
test("rejects a published APK that is not Play-signed and restores Draft state", () => {
|
||||
|
||||
Reference in new issue
Block a user