From cad8fa80b7a76f2c03e14b91471cbc3d1242c355 Mon Sep 17 00:00:00 2001
From: Michael Rittmeister <michael@rittmeister.in>
Date: Sun, 29 Sep 2024 02:38:55 +0200
Subject: [PATCH] Fix windows signing config

---
 .github/workflows/ci.yml          | 2 +-
 app/desktop/msix/appxmanifest.xml | 2 +-
 build.gradle.kts                  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c22e389..6eaa84a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -334,7 +334,7 @@ jobs:
           api-token: ${{ secrets.SIGNPATH_KEY }}
           organization-id: e6101c42-2f2b-468e-9bf4-225c01ba183f
           project-slug: tonbrett
-          signing-policy-slug: test-signing
+          signing-policy-slug: release-signing
           artifact-configuration-slug: tonbrett
           github-artifact-id: '${{ steps.upload.outputs.artifact-id }}'
           wait-for-completion-timeout-in-seconds: 36288000 # SignPath needs to manually validate this, so let's give this a week
diff --git a/app/desktop/msix/appxmanifest.xml b/app/desktop/msix/appxmanifest.xml
index bd2522e..1b00dd3 100644
--- a/app/desktop/msix/appxmanifest.xml
+++ b/app/desktop/msix/appxmanifest.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5" xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10">
   <!-- DO NOT EDIT THIS VERSION IT IS UPDATED AUTOMATICALLY -->
-  <Identity Name="dev.schlaubi.Tonbrett" Version="0.0.0.0" Publisher="CN=SignPath Foundation, O=SignPath Foundation, C=US, S=DE, L=Lewes" ProcessorArchitecture="x64" />
+  <Identity Name="dev.schlaubi.Tonbrett" Version="0.0.0.0" Publisher="CN=SignPath Foundation, O=SignPath Foundation, L=Lewes, S=Delaware, C=US" ProcessorArchitecture="x64" />
   <Properties>
     <DisplayName>Tonbrett</DisplayName>
     <PublisherDisplayName>Schlaubi</PublisherDisplayName>
diff --git a/build.gradle.kts b/build.gradle.kts
index 2f6b6af..0d0e177 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -7,7 +7,7 @@ plugins {
 
 allprojects {
     group = "dev.schlaubi.tonbrett"
-    version = "1.22.1"
+    version = "1.22.2"
 
     repositories {
         mavenCentral()