[tauri] ApkKey: Sign the APK with Mark's Custos key rosea-domi-android, and let preflight check it again
This commit is contained in:
@@ -13,13 +13,13 @@ const COMMIT = 'a'.repeat(40);
|
||||
const pkg = JSON.parse(readFileSync(join(fileURLToPath(new URL('..', import.meta.url)), 'package.json'), 'utf8')) as { scripts: Record<string, string> };
|
||||
|
||||
describe('signArgs', () => {
|
||||
it('asks for rosea-android, scoped to mnovak/Rosea, the release pipeline and a tag', () => {
|
||||
it('asks for rosea-domi-android, scoped to mnovak/Rosea, the release pipeline and a tag', () => {
|
||||
const args = signArgs({ version: '0.1.0', commit: COMMIT, unsigned: 'in.apk', out: 'out.apk' });
|
||||
expect(args).toEqual([
|
||||
'apk', 'in.apk', '--out', 'out.apk', '--key', 'rosea-android', '--repo', 'mnovak/Rosea', '--pipeline', 'release',
|
||||
'apk', 'in.apk', '--out', 'out.apk', '--key', 'rosea-domi-android', '--repo', 'mnovak/Rosea', '--pipeline', 'release',
|
||||
'--commit', COMMIT, '--trigger', 'tag', '--run', 'rosea-v0.1.0', '--version', '0.1.0', '--step', 'apk'
|
||||
]);
|
||||
expect(APK_KEY).toBe('rosea-android');
|
||||
expect(APK_KEY).toBe('rosea-domi-android');
|
||||
});
|
||||
|
||||
it('refuses a version or a commit that is not one', () => {
|
||||
|
||||
Reference in New Issue
Block a user