From 339df4e1bdfef62f2b16591781e81dc7b428cf89 Mon Sep 17 00:00:00 2001
From: Simon Hofmann <mail@simon-hofmann.org>
Date: Mon, 19 Feb 2024 23:08:06 +0100
Subject: [PATCH 1/2] Version bump to v2.7.1

---
 CHANGELOG.md      | 5 +++++
 package-lock.json | 4 ++--
 package.json      | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index c55b2f1..bc3e4a8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,7 +2,12 @@
 
 All notable changes to this project will be documented in this file.
 
+# 2.7.1
+
+- Bugfix: Re-build broken Windows release
+
 # 2.7.0
+
 - Enhancement: Adding support for numpad 'Enter' key [PR #168)](https://github.com/nut-tree/libnut-core/pull/168) Contributed by [@smithkyle](https://github.com/smithkyle)
 - Enhancement: Adding support for 'Fn' modifier key [PR #169)](https://github.com/nut-tree/libnut-core/pull/169) Contributed by [@smithkyle](https://github.com/smithkyle)
 - Maintenance: Version upgrades, CI updates, etc.
diff --git a/package-lock.json b/package-lock.json
index e1db0c9..ff8bda3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
   "name": "libnut",
-  "version": "2.7.0",
+  "version": "2.7.1",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {
     "": {
       "name": "libnut",
-      "version": "2.7.0",
+      "version": "2.7.1",
       "cpu": [
         "x64",
         "arm64"
diff --git a/package.json b/package.json
index 36bf344..71371d0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "libnut",
-  "version": "2.7.0",
+  "version": "2.7.1",
   "description": "libnut is an N-API module for desktop automation with node",
   "main": "index.js",
   "typings": "index.d.ts",

From 3a02763bbd80eb7c8f7d509d5e0562e93249e497 Mon Sep 17 00:00:00 2001
From: Simon Hofmann <mail@simon-hofmann.org>
Date: Mon, 19 Feb 2024 23:18:14 +0100
Subject: [PATCH 2/2] Update release pipelines

---
 .github/workflows/snapshot_release.yaml | 22 +---------------------
 .github/workflows/tagged_release.yaml   | 22 +---------------------
 2 files changed, 2 insertions(+), 42 deletions(-)

diff --git a/.github/workflows/snapshot_release.yaml b/.github/workflows/snapshot_release.yaml
index d32e665..db8ca59 100644
--- a/.github/workflows/snapshot_release.yaml
+++ b/.github/workflows/snapshot_release.yaml
@@ -11,7 +11,7 @@ on:
         default: 'Snapshot release'
 
 jobs:
-  test:
+  deploy:
     strategy:
       matrix:
         os: [ ubuntu-20.04, macos-11, windows-2019 ]
@@ -41,26 +41,6 @@ jobs:
         with:
           working-directory: ./test/window-integration-tests
           run: npm cit
-
-  deploy:
-    needs:
-      - test
-    strategy:
-      matrix:
-        os: [ ubuntu-20.04, macos-11, windows-2019 ]
-    runs-on: ${{matrix.os}}
-    steps:
-      - name: Set up Git repository
-        uses: actions/checkout@v4.1.1
-      - name: Set up node
-        uses: actions/setup-node@v4.0.2
-        with:
-          node-version: 18
-      - name: Configure Linux environment
-        if: ${{matrix.os == 'ubuntu-20.04'}}
-        run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
-      - name: Install
-        run: npm run patch && npm i
       - name: Publish snapshot release
         if: ${{matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-11'}}
         run: ./.build/pre-release.sh
diff --git a/.github/workflows/tagged_release.yaml b/.github/workflows/tagged_release.yaml
index 0fde235..d4b9546 100644
--- a/.github/workflows/tagged_release.yaml
+++ b/.github/workflows/tagged_release.yaml
@@ -5,7 +5,7 @@ on:
       - v*.*.*
 
 jobs:
-  test:
+  deploy:
     strategy:
       matrix:
         os: [ ubuntu-20.04, macos-11, windows-2019 ]
@@ -35,26 +35,6 @@ jobs:
         with:
           working-directory: ./test/window-integration-tests
           run: npm cit
-
-  deploy:
-    needs:
-      - test
-    strategy:
-      matrix:
-        os: [ ubuntu-20.04, macos-11, windows-2019 ]
-    runs-on: ${{matrix.os}}
-    steps:
-      - name: Set up Git repository
-        uses: actions/checkout@v4.1.1
-      - name: Set up node
-        uses: actions/setup-node@v4.0.2
-        with:
-          node-version: 18
-      - name: Configure Linux environment
-        if: ${{matrix.os == 'ubuntu-20.04'}}
-        run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
-      - name: Install
-        run: npm run patch && npm i
       - name: Publish tagged release
         uses: JS-DevTools/npm-publish@v1
         with: