feat(release): prepare 1.1.0 candidate

This commit is contained in:
Yun Chan 2026-08-29 18:33:45 +09:00
parent 5a34f66981
commit 5205dcdfa9
736 changed files with 115667 additions and 12203 deletions

View file

@ -6,6 +6,10 @@ const path = require('path');
const fs = require('fs');
const http = require('http');
const crypto = require('crypto');
const {
forgejoAuthorization,
forgejoLogin,
} = require('./lib/credentials.cjs');
const OUTPUT_DIR = 'C:/Users/encep/.gemini/antigravity-cli/brain/3ab7ae82-5634-41d5-93a7-3c12c22503e2/screenshots/e2e_verification';
const EXPECTED_HASH = 'b0ac051443151a2e34e8192f1fcf795586bbafca6eb21f01a79170c079a53ba2';
@ -47,6 +51,7 @@ function serveStatic(dir) {
}
async function runE2E() {
const { username, password } = forgejoLogin();
if (!fs.existsSync(OUTPUT_DIR)) fs.mkdirSync(OUTPUT_DIR, { recursive: true });
const testResults = {
@ -167,9 +172,9 @@ async function runE2E() {
// Test 5: Verify Remote Forgejo Git Server (https://git.chanpaca.net/yunchan/d3ro-voice/releases)
console.log('\n[TEST 6] Verifying Live Remote Forgejo Git Server (git.chanpaca.net)...');
try {
const auth = Buffer.from('yunchan:ONVI2v4J#y').toString('base64');
const authorization = forgejoAuthorization();
const apiRes = await fetch('https://git.chanpaca.net/api/v1/repos/yunchan/d3ro-voice/releases/tags/v1.0.0', {
headers: { 'Authorization': 'Basic ' + auth }
headers: { 'Authorization': authorization }
});
console.log(' -> Forgejo Release API Status:', apiRes.status);
if (apiRes.status === 200) {
@ -191,8 +196,8 @@ async function runE2E() {
console.log('\n[TEST 7] Capturing Live Forgejo Release UI...');
try {
await page.goto('https://git.chanpaca.net/user/login', { waitUntil: 'networkidle', timeout: 20000 });
await page.fill('input[name="user_name"]', 'yunchan');
await page.fill('input[name="password"]', 'ONVI2v4J#y');
await page.fill('input[name="user_name"]', username);
await page.fill('input[name="password"]', password);
await page.click('button[type="submit"]');
await page.waitForTimeout(3000);