From 31dda7e8ffde75b6719581350b0c48a17d70a936 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 5 Nov 2023 21:58:54 +0100 Subject: [PATCH 01/42] ci: add github actions ci --- .github/workflows/build.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..b57ec9e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,35 @@ +name: CI + +on: + workflow_dispatch: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + strategy: + matrix: + configuration: [ Debug, Release ] + runs-on: windows-2019 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup MSBuild + uses: microsoft/setup-msbuild@v1 + + - name: Setup NuGet + uses: NuGet/setup-nuget@v1 + + - name: Restore Packages + run: nuget restore FunkeySelector.sln + + - name: Build solution + run: msbuild FunkeySelector.sln -t:rebuild -property:Configuration=$env:Configuration + env: + Configuration: ${{ matrix.configuration }} + + - name: run ls since idk what's in here + run: dir \ No newline at end of file From 4164a310caa85655f887dc28097d3841cfcebdf6 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 5 Nov 2023 22:07:22 +0100 Subject: [PATCH 02/42] ci: upload build artifacts --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b57ec9e..a93bd3a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,5 +31,7 @@ jobs: env: Configuration: ${{ matrix.configuration }} - - name: run ls since idk what's in here - run: dir \ No newline at end of file + - name: Upload the build results as an artifact + uses: actions/upload-artifact@v3 + with: + path: FunkeySelector/bin/${{ matrix.configuration }}/* From e8b229f0cf327f62c14b58c3e05f491a4276fd2b Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 5 Nov 2023 22:08:09 +0100 Subject: [PATCH 03/42] ci: fix wrong branch name --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a93bd3a..8cd5557 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,9 +3,9 @@ name: CI on: workflow_dispatch: push: - branches: [ main ] + branches: [ master ] pull_request: - branches: [ main ] + branches: [ master ] jobs: build: From d0f61f9da0989d2ef1f81456ebaffcbf8955ba61 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 5 Nov 2023 22:10:44 +0100 Subject: [PATCH 04/42] ci: add artifact names --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8cd5557..a876141 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,3 +35,4 @@ jobs: uses: actions/upload-artifact@v3 with: path: FunkeySelector/bin/${{ matrix.configuration }}/* + name: FSGUI.Nightly.${{ matrix.configuration }} From cc7dec30bada3fa1b84a7381169906a5bd573429 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sat, 11 Nov 2023 15:32:03 +0100 Subject: [PATCH 05/42] ci: refactor for easier portability --- .github/workflows/{build.yml => nightly.yml} | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) rename .github/workflows/{build.yml => nightly.yml} (55%) diff --git a/.github/workflows/build.yml b/.github/workflows/nightly.yml similarity index 55% rename from .github/workflows/build.yml rename to .github/workflows/nightly.yml index a876141..bc342d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/nightly.yml @@ -1,4 +1,10 @@ -name: CI +# Builds a .NET framework project +name: Nightly builds + +env: + projectName: FunkeySelectorGUI + projectFolder: FunkeySelector + solutionFile: FunkeySelector.sln on: workflow_dispatch: @@ -24,15 +30,15 @@ jobs: uses: NuGet/setup-nuget@v1 - name: Restore Packages - run: nuget restore FunkeySelector.sln + run: nuget restore ${{ env.solutionFile }} - name: Build solution - run: msbuild FunkeySelector.sln -t:rebuild -property:Configuration=$env:Configuration + run: msbuild ${{ env.solutionFile }} -t:rebuild -property:Configuration=$env:configuration env: - Configuration: ${{ matrix.configuration }} + configuration: ${{ matrix.configuration }} - name: Upload the build results as an artifact uses: actions/upload-artifact@v3 with: - path: FunkeySelector/bin/${{ matrix.configuration }}/* - name: FSGUI.Nightly.${{ matrix.configuration }} + path: ${{ env.projectFolder }}/bin/${{ matrix.configuration }}/* + name: ${{ env.projectName }}.Nightly.${{ matrix.configuration }} From 791e30cacd9172de35ad1c7544bc054e6eeec706 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 12 Nov 2023 15:39:46 +0100 Subject: [PATCH 06/42] ci: simplify step --- .github/workflows/nightly.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index bc342d9..d8e10ce 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -33,9 +33,7 @@ jobs: run: nuget restore ${{ env.solutionFile }} - name: Build solution - run: msbuild ${{ env.solutionFile }} -t:rebuild -property:Configuration=$env:configuration - env: - configuration: ${{ matrix.configuration }} + run: msbuild ${{ env.solutionFile }} -t:rebuild -property:Configuration=${{ matrix.configuration }} - name: Upload the build results as an artifact uses: actions/upload-artifact@v3 From 27a589c6862aaef29cdc960af32fa90e08b64879 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 12 Nov 2023 15:43:29 +0100 Subject: [PATCH 07/42] ci: automatically add build result to release --- .github/workflows/release.yml | 59 +++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..03dc1ad --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,59 @@ +# Builds a .NET framework project in Release mode when a new release is created +# and uploads the build results to the newly created release +# then updates update.xml (NOT IMPLEMENTED YET) +# assumes the version in Properties/AssemblyInfo.cs has already been updated +name: Publish release + +env: + projectName: FunkeySelectorGUI + projectFolder: FunkeySelector + solutionFile: FunkeySelector.sln + +on: + release: + types: + - released + +jobs: + publish: + permissions: + contents: write + id-token: write + strategy: + matrix: + configuration: [ Release ] + runs-on: windows-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup MSBuild + uses: microsoft/setup-msbuild@v1 + + - name: Setup NuGet + uses: NuGet/setup-nuget@v1 + + - name: Restore Packages + run: nuget restore ${{ env.solutionFile }} + + - name: Build solution + run: msbuild ${{ env.solutionFile }} -t:rebuild -property:Configuration=${{ matrix.configuration }} + + - name: Get version from release name + id: version + uses: mad9000/actions-find-and-replace-string@4 + with: + source: ${{ github.event.release.name }} + find: "${{ env.projectName }} " + replace: "" + + - name: Upload the build results as an artifact + uses: actions/upload-artifact@v3 + with: + path: ${{ env.projectFolder }}/bin/${{ matrix.configuration }}/* + name: ${{ env.projectName }}.${{ steps.version.outputs.value }}.${{ matrix.configuration }} + + - name: Upload build results to release + uses: svenstaro/upload-release-action@v2 + with: + file: ${{ env.projectFolder }}/bin/${{ matrix.configuration }}/FunkeySelector.exe From bd13ed1c393c583e25e8adb1456c1bcf236ca14b Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 12 Nov 2023 15:52:54 +0100 Subject: [PATCH 08/42] ci: use windows-2019 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03dc1ad..508fa0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: configuration: [ Release ] - runs-on: windows-latest + runs-on: windows-2019 steps: - name: Checkout repository uses: actions/checkout@v4 From 76b78538846ab2c9f0a8e3b1669f046f2763e570 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sat, 18 Nov 2023 13:10:41 +0100 Subject: [PATCH 09/42] fix: twinx and tiki are switched around #11 --- FunkeySelector/KelpyBasin.Designer.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/FunkeySelector/KelpyBasin.Designer.cs b/FunkeySelector/KelpyBasin.Designer.cs index 459c9ce..0438336 100644 --- a/FunkeySelector/KelpyBasin.Designer.cs +++ b/FunkeySelector/KelpyBasin.Designer.cs @@ -72,7 +72,7 @@ private void InitializeComponent() this.TwinxVR.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.TwinxVR.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.TwinxVR.ForeColor = System.Drawing.SystemColors.ControlLightLight; - this.TwinxVR.FunkeyID = "0000001F"; + this.TwinxVR.FunkeyID = "00000025"; this.TwinxVR.Location = new System.Drawing.Point(390, 448); this.TwinxVR.Name = "TwinxVR"; this.TwinxVR.Size = new System.Drawing.Size(50, 63); @@ -89,7 +89,7 @@ private void InitializeComponent() this.TwinxR.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.TwinxR.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.TwinxR.ForeColor = System.Drawing.SystemColors.ControlLight; - this.TwinxR.FunkeyID = "0000001E"; + this.TwinxR.FunkeyID = "00000024"; this.TwinxR.Location = new System.Drawing.Point(339, 448); this.TwinxR.Name = "TwinxR"; this.TwinxR.Size = new System.Drawing.Size(50, 63); @@ -106,7 +106,7 @@ private void InitializeComponent() this.Twinx.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Twinx.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Twinx.ForeColor = System.Drawing.SystemColors.ControlLightLight; - this.Twinx.FunkeyID = "0000001D"; + this.Twinx.FunkeyID = "00000023"; this.Twinx.Location = new System.Drawing.Point(288, 448); this.Twinx.Name = "Twinx"; this.Twinx.Size = new System.Drawing.Size(50, 63); @@ -198,7 +198,7 @@ private void InitializeComponent() this.TikiVR.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.TikiVR.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.TikiVR.ForeColor = System.Drawing.SystemColors.ControlLightLight; - this.TikiVR.FunkeyID = "00000025"; + this.TikiVR.FunkeyID = "0000001F"; this.TikiVR.Location = new System.Drawing.Point(391, 338); this.TikiVR.Name = "TikiVR"; this.TikiVR.Size = new System.Drawing.Size(50, 63); @@ -215,7 +215,7 @@ private void InitializeComponent() this.TikiR.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.TikiR.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.TikiR.ForeColor = System.Drawing.SystemColors.ControlLight; - this.TikiR.FunkeyID = "00000024"; + this.TikiR.FunkeyID = "0000001E"; this.TikiR.Location = new System.Drawing.Point(340, 338); this.TikiR.Name = "TikiR"; this.TikiR.Size = new System.Drawing.Size(50, 63); @@ -232,7 +232,7 @@ private void InitializeComponent() this.Tiki.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Tiki.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Tiki.ForeColor = System.Drawing.SystemColors.ControlLightLight; - this.Tiki.FunkeyID = "00000023"; + this.Tiki.FunkeyID = "0000001D"; this.Tiki.Location = new System.Drawing.Point(289, 338); this.Tiki.Name = "Tiki"; this.Tiki.Size = new System.Drawing.Size(50, 63); From 5d2603b1a00dee9a1161453961e00f4abbd385e0 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sat, 18 Nov 2023 13:53:36 +0100 Subject: [PATCH 10/42] ci: fix space in artifact name --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 508fa0a..bcfb2fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: id: version uses: mad9000/actions-find-and-replace-string@4 with: - source: ${{ github.event.release.name }} + source: "${{ github.event.release.name }}" find: "${{ env.projectName }} " replace: "" From 00db1daa2736faa8f66f4705584d245dd53c195a Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sat, 18 Nov 2023 14:36:50 +0100 Subject: [PATCH 11/42] ci: update update.xml on release --- .github/workflows/release.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bcfb2fb..d24ca72 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Setup git configuration + run: | + git config user.name "Github Actions Bot" + git config user.email "<>" + - name: Setup MSBuild uses: microsoft/setup-msbuild@v1 @@ -57,3 +62,30 @@ jobs: uses: svenstaro/upload-release-action@v2 with: file: ${{ env.projectFolder }}/bin/${{ matrix.configuration }}/FunkeySelector.exe + + - name: Update version property in update.xml + uses: Mudlet/xmlstarlet-action@v1.2 + with: + args: ed -P -u "//update/@version" -v "${{ steps.version.outputs.value }}" update.xml + + - name: Update name property in update.xml + uses: Mudlet/xmlstarlet-action@v1.2 + with: + args: ed -P -u "//update/@name" -v "${{ github.event.release.name }}" update.xml + + - name: Get file size of FunkeySelectorGUI.exe + id: filesize + run: echo "FILESIZE=$((Get-Item FunkeySelector.exe).length)" >> $GITHUB_OUTPUT + + - name: Update size property in update.xml + uses: Mudlet/xmlstarlet-action@v1.2 + with: + args: ed -P -u "//update/@size" -v "${{ steps.filesize.outputs.FILESIZE }}" update.xml + + - name: Update url property in update.xml + uses: Mudlet/xmlstarlet-action@v1.2 + with: + args: ed -P -u "//update/@url" -v "https://github.com/GittyMac/FunkeySelectorGUI/releases/download/v${{ steps.version.outputs.value }}/FunkeySelectorGUI.exe" update.xml + + - name: Push the changes made to update.xml + run: git push origin master From 3bf962767f856f5db8a7401816802dfdd208d6fb Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sat, 18 Nov 2023 15:14:28 +0100 Subject: [PATCH 12/42] ci: refactor a bit and actually update & commit --- .github/workflows/release.yml | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d24ca72..90a7dc6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,44 +48,31 @@ jobs: id: version uses: mad9000/actions-find-and-replace-string@4 with: - source: "${{ github.event.release.name }}" - find: "${{ env.projectName }} " + source: "${{ github.event.release.tag_name }}" + find: "v" replace: "" - name: Upload the build results as an artifact uses: actions/upload-artifact@v3 with: path: ${{ env.projectFolder }}/bin/${{ matrix.configuration }}/* - name: ${{ env.projectName }}.${{ steps.version.outputs.value }}.${{ matrix.configuration }} + name: ${{ env.projectName }}.${{ github.event.release.tag_name }}.${{ matrix.configuration }} - name: Upload build results to release uses: svenstaro/upload-release-action@v2 with: file: ${{ env.projectFolder }}/bin/${{ matrix.configuration }}/FunkeySelector.exe - - name: Update version property in update.xml - uses: Mudlet/xmlstarlet-action@v1.2 - with: - args: ed -P -u "//update/@version" -v "${{ steps.version.outputs.value }}" update.xml - - - name: Update name property in update.xml - uses: Mudlet/xmlstarlet-action@v1.2 - with: - args: ed -P -u "//update/@name" -v "${{ github.event.release.name }}" update.xml - - name: Get file size of FunkeySelectorGUI.exe id: filesize run: echo "FILESIZE=$((Get-Item FunkeySelector.exe).length)" >> $GITHUB_OUTPUT - - name: Update size property in update.xml - uses: Mudlet/xmlstarlet-action@v1.2 - with: - args: ed -P -u "//update/@size" -v "${{ steps.filesize.outputs.FILESIZE }}" update.xml - - - name: Update url property in update.xml - uses: Mudlet/xmlstarlet-action@v1.2 - with: - args: ed -P -u "//update/@url" -v "https://github.com/GittyMac/FunkeySelectorGUI/releases/download/v${{ steps.version.outputs.value }}/FunkeySelectorGUI.exe" update.xml + - name: Update update.xml + run: | + echo '' > update.xml - name: Push the changes made to update.xml - run: git push origin master + run: | + git add update.xml + git commit -m "chore(update): update update.xml" + git push origin master From 5f56f8b52e6a9db624beb0f98b2ef56135cdb749 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sat, 18 Nov 2023 15:20:21 +0100 Subject: [PATCH 13/42] ci: put path to FunkeySelector.exe --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 90a7dc6..f5ed783 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,7 +65,7 @@ jobs: - name: Get file size of FunkeySelectorGUI.exe id: filesize - run: echo "FILESIZE=$((Get-Item FunkeySelector.exe).length)" >> $GITHUB_OUTPUT + run: echo "FILESIZE=$((Get-Item '${{ env.projectFolder }}/bin/${{ matrix.configuration }}/FunkeySelector.exe').length)" >> $GITHUB_OUTPUT - name: Update update.xml run: | From c747f1fe818b406f4072a5578b38436dfca9caf8 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sat, 18 Nov 2023 15:26:34 +0100 Subject: [PATCH 14/42] ci: attempt to debug --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5ed783..458ef34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -73,6 +73,9 @@ jobs: - name: Push the changes made to update.xml run: | + echo add git add update.xml + echo commit git commit -m "chore(update): update update.xml" + echo push git push origin master From 2546791834533dd19f3119098a41a7ef4231f99a Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sat, 18 Nov 2023 17:26:52 +0100 Subject: [PATCH 15/42] ci: try to push changes --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 458ef34..9f4785c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -73,9 +73,7 @@ jobs: - name: Push the changes made to update.xml run: | - echo add git add update.xml - echo commit git commit -m "chore(update): update update.xml" - echo push - git push origin master + git status + git push origin From 4abc7c6ac96f57ce913d9e0ef3fb5c732f976da7 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sat, 18 Nov 2023 20:00:51 +0100 Subject: [PATCH 16/42] ci: checkout default branch --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f4785c..0b55ae8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + ref: ${{ github.event.repository.default_branch }} - name: Setup git configuration run: | @@ -75,5 +77,4 @@ jobs: run: | git add update.xml git commit -m "chore(update): update update.xml" - git status git push origin From a3fc94ca4404dbff45ab4d3964c7b04826025a31 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 19 Nov 2023 00:18:22 +0100 Subject: [PATCH 17/42] ci: push to default branch --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b55ae8..8c782e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - ref: ${{ github.event.repository.default_branch }} + ref: "${{ github.event.repository.default_branch }}" - name: Setup git configuration run: | @@ -77,4 +77,4 @@ jobs: run: | git add update.xml git commit -m "chore(update): update update.xml" - git push origin + git push origin ${{ github.event.repository.default_branch }} From 42888e60d58e3c26e58efe32a422e34993d568f7 Mon Sep 17 00:00:00 2001 From: Github Actions Bot <> Date: Sat, 18 Nov 2023 23:20:24 +0000 Subject: [PATCH 18/42] chore(update): update update.xml --- update.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.xml b/update.xml index f6f85c5..07e81e4 100644 --- a/update.xml +++ b/update.xml @@ -1 +1 @@ - + From 9f7dc4fa84c52e7ef3330c03d6610d851b5b9ef8 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 19 Nov 2023 00:36:01 +0100 Subject: [PATCH 19/42] ci: debug null error --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c782e1..3caddd1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,10 +67,13 @@ jobs: - name: Get file size of FunkeySelectorGUI.exe id: filesize - run: echo "FILESIZE=$((Get-Item '${{ env.projectFolder }}/bin/${{ matrix.configuration }}/FunkeySelector.exe').length)" >> $GITHUB_OUTPUT + run: | + echo "$((Get-Item '${{ env.projectFolder }}/bin/${{ matrix.configuration }}/FunkeySelector.exe').length)" + echo "FILESIZE=$((Get-Item ${{ env.projectFolder }}/bin/${{ matrix.configuration }}/FunkeySelector.exe).length)" >> $GITHUB_OUTPUT - name: Update update.xml run: | + echo "${{ toJson(steps.filesize.outputs) }}" echo '' > update.xml - name: Push the changes made to update.xml From 79b749bdb020eed1eeddf03f7c7edf6d313e5f83 Mon Sep 17 00:00:00 2001 From: Github Actions Bot <> Date: Sat, 18 Nov 2023 23:38:26 +0000 Subject: [PATCH 20/42] chore(update): update update.xml --- update.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.xml b/update.xml index 07e81e4..63b883a 100644 --- a/update.xml +++ b/update.xml @@ -1 +1 @@ - + From 3a44c196ecb73fe27a2babfdf5b2186f8a7ce8fa Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 19 Nov 2023 00:45:45 +0100 Subject: [PATCH 21/42] ci: set correct asset name --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3caddd1..edf0901 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,6 +64,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: file: ${{ env.projectFolder }}/bin/${{ matrix.configuration }}/FunkeySelector.exe + asset_name: FunkeySelectorGUI.exe - name: Get file size of FunkeySelectorGUI.exe id: filesize From 046f872d0adac012bc1ec7fece99479aacf0303f Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 19 Nov 2023 00:46:03 +0100 Subject: [PATCH 22/42] ci: use GITHUB_OUTPUT properly --- .github/workflows/release.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index edf0901..cdf5d7a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,13 +69,10 @@ jobs: - name: Get file size of FunkeySelectorGUI.exe id: filesize run: | - echo "$((Get-Item '${{ env.projectFolder }}/bin/${{ matrix.configuration }}/FunkeySelector.exe').length)" - echo "FILESIZE=$((Get-Item ${{ env.projectFolder }}/bin/${{ matrix.configuration }}/FunkeySelector.exe).length)" >> $GITHUB_OUTPUT + "FILESIZE=$((Get-Item ${{ env.projectFolder }}/bin/${{ matrix.configuration }}/FunkeySelector.exe).length)" | Out-File -FilePath $env:GITHUB_OUTPUT -Append - name: Update update.xml - run: | - echo "${{ toJson(steps.filesize.outputs) }}" - echo '' > update.xml + run: echo '' > update.xml - name: Push the changes made to update.xml run: | From fbe0dcf5204fc2330fb5b56369db3d871885751a Mon Sep 17 00:00:00 2001 From: Github Actions Bot <> Date: Sat, 18 Nov 2023 23:48:59 +0000 Subject: [PATCH 23/42] chore(update): update update.xml --- update.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.xml b/update.xml index 63b883a..af91dbe 100644 --- a/update.xml +++ b/update.xml @@ -1 +1 @@ - + From 03fbba2370a9f7f103cc311979f54efe1cceea47 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 19 Nov 2023 00:59:18 +0100 Subject: [PATCH 24/42] revert: "chore(update): update update.xml" This reverts commit 42888e60d58e3c26e58efe32a422e34993d568f7. --- update.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.xml b/update.xml index af91dbe..f6f85c5 100644 --- a/update.xml +++ b/update.xml @@ -1 +1 @@ - + From abbadba7631b9b9677083904eda40344dcd95904 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Mon, 20 Nov 2023 23:51:33 +0100 Subject: [PATCH 25/42] ci: set version in AssemblyInfo.cs --- .github/workflows/nightly.yml | 27 +++++++++++++++++++++++++++ .github/workflows/release.yml | 20 +++++++++++++++++--- 2 files changed, 44 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d8e10ce..b9ea59c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -32,6 +32,33 @@ jobs: - name: Restore Packages run: nuget restore ${{ env.solutionFile }} + - name: Get tag name + id: tagName + run: | + "TAGNAME=$(git describe --tags --abbrev=0)" | Out-File -FilePath $env:GITHUB_OUTPUT -Append + + - name: Get version from release name + id: version + uses: mad9000/actions-find-and-replace-string@4 + with: + source: "${{ steps.tagName.outputs.TAGNAME }}" + find: "v" + replace: "" + + - name: Normalize the version string into SemVer format (x.x.x) + id: normalizeVersion + run: | + $versionString = "${{ steps.version.outputs.value }}" + $digits = $versionString.Split(".").Length + if ($digits -eq 1) { $versionString += ".0.0" } + elseif ($digits -eq 2) { $versionString += ".0" } + "VERSION=$($versionString)" | Out-File -FilePath $env:GITHUB_OUTPUT -Append + + - name: Set version in AssemblyInfo.cs + uses: secondbounce/assemblyinfo-update@v2 + with: + version: "${{ steps.normalizeVersion.outputs.VERSION }}" + - name: Build solution run: msbuild ${{ env.solutionFile }} -t:rebuild -property:Configuration=${{ matrix.configuration }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cdf5d7a..d197921 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,9 +43,6 @@ jobs: - name: Restore Packages run: nuget restore ${{ env.solutionFile }} - - name: Build solution - run: msbuild ${{ env.solutionFile }} -t:rebuild -property:Configuration=${{ matrix.configuration }} - - name: Get version from release name id: version uses: mad9000/actions-find-and-replace-string@4 @@ -54,6 +51,23 @@ jobs: find: "v" replace: "" + - name: Normalize the version string into SemVer format (x.x.x) + id: normalizeVersion + run: | + $versionString = "${{ steps.version.outputs.value }}" + $digits = $versionString.Split(".").Length + if ($digits -eq 1) { $versionString += ".0.0" } + elseif ($digits -eq 2) { $versionString += ".0" } + "VERSION=$($versionString)" | Out-File -FilePath $env:GITHUB_OUTPUT -Append + + - name: Set version in AssemblyInfo.cs + uses: secondbounce/assemblyinfo-update@v2 + with: + version: "${{ steps.normalizeVersion.outputs.VERSION }}" + + - name: Build solution + run: msbuild ${{ env.solutionFile }} -t:rebuild -property:Configuration=${{ matrix.configuration }} + - name: Upload the build results as an artifact uses: actions/upload-artifact@v3 with: From cc4b26b1e60f6f22ae11046d8262287acab0f3bb Mon Sep 17 00:00:00 2001 From: Github Actions Bot <> Date: Mon, 20 Nov 2023 22:54:59 +0000 Subject: [PATCH 26/42] chore(update): update update.xml --- update.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.xml b/update.xml index f6f85c5..4f2e577 100644 --- a/update.xml +++ b/update.xml @@ -1 +1 @@ - + From 4a77329135653e1d8ca8180c880b5a0be8be0f27 Mon Sep 17 00:00:00 2001 From: Github Actions Bot <> Date: Mon, 20 Nov 2023 22:57:19 +0000 Subject: [PATCH 27/42] chore(update): update update.xml --- update.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.xml b/update.xml index 4f2e577..2c9f8e6 100644 --- a/update.xml +++ b/update.xml @@ -1 +1 @@ - + From 8fb7afc41117851ca2b8484bf68fe05a2ce54804 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Tue, 21 Nov 2023 00:04:04 +0100 Subject: [PATCH 28/42] ci: get tag name properly --- .github/workflows/nightly.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b9ea59c..f937140 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -32,16 +32,11 @@ jobs: - name: Restore Packages run: nuget restore ${{ env.solutionFile }} - - name: Get tag name - id: tagName - run: | - "TAGNAME=$(git describe --tags --abbrev=0)" | Out-File -FilePath $env:GITHUB_OUTPUT -Append - - name: Get version from release name id: version uses: mad9000/actions-find-and-replace-string@4 with: - source: "${{ steps.tagName.outputs.TAGNAME }}" + source: "${{ github.ref_name }}" find: "v" replace: "" From 179f496bff368846b3f9ae5d3d0ac2d53f605e9c Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Tue, 21 Nov 2023 00:07:16 +0100 Subject: [PATCH 29/42] ci: run on every push & PR --- .github/workflows/nightly.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index f937140..317aa5d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -9,9 +9,8 @@ env: on: workflow_dispatch: push: - branches: [ master ] + tags: [ "*" ] pull_request: - branches: [ master ] jobs: build: From 83daed4b1689dc4c9ad5d8b4f29ff301e3a5c251 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Tue, 21 Nov 2023 00:11:33 +0100 Subject: [PATCH 30/42] ci: use action to get tag name --- .github/workflows/nightly.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 317aa5d..04163fc 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -31,11 +31,15 @@ jobs: - name: Restore Packages run: nuget restore ${{ env.solutionFile }} + - name: Get tag name + id: tagName + uses: olegtarasov/get-tag@v2 + - name: Get version from release name id: version uses: mad9000/actions-find-and-replace-string@4 with: - source: "${{ github.ref_name }}" + source: "${{ steps.tagName.outputs.tag }}" find: "v" replace: "" From d41d0c7df2003fd528488c9fe7b85db4b6a76824 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Tue, 21 Nov 2023 00:12:28 +0100 Subject: [PATCH 31/42] ci: run always on push --- .github/workflows/nightly.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 04163fc..066df4a 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -9,7 +9,6 @@ env: on: workflow_dispatch: push: - tags: [ "*" ] pull_request: jobs: From d9d281f7a6de0031b892c2b740b95e96ecdccfdf Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Tue, 21 Nov 2023 00:30:13 +0100 Subject: [PATCH 32/42] ci: fetch git tags --- .github/workflows/nightly.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 066df4a..f9cc6a2 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -30,6 +30,9 @@ jobs: - name: Restore Packages run: nuget restore ${{ env.solutionFile }} + - name: Fetch git tags + run: git fetch --tags + - name: Get tag name id: tagName uses: olegtarasov/get-tag@v2 From 265a2635bc7b8dfb9f77e359d46f2db7ff4fa5f3 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Tue, 21 Nov 2023 00:36:47 +0100 Subject: [PATCH 33/42] ci: unshallow using git fetch --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index f9cc6a2..ac0af25 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -31,7 +31,7 @@ jobs: run: nuget restore ${{ env.solutionFile }} - name: Fetch git tags - run: git fetch --tags + run: git fetch --prune --unshallow - name: Get tag name id: tagName From 39c86e99aa992d47c2cb7ed4855934539cb432d8 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 26 Nov 2023 13:59:14 +0100 Subject: [PATCH 34/42] ci: try using other action to get tag --- .github/workflows/nightly.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 066df4a..934f973 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -8,8 +8,16 @@ env: on: workflow_dispatch: + push: + tags: + - "*" + branches-ignore: + - "gh-pages" + pull_request: + branches-ignore: + - "gh-pages" jobs: build: @@ -30,15 +38,15 @@ jobs: - name: Restore Packages run: nuget restore ${{ env.solutionFile }} - - name: Get tag name - id: tagName - uses: olegtarasov/get-tag@v2 + - name: Get previous tag + id: get_tag + uses: WyriHaximus/github-action-get-previous-tag@v1 - name: Get version from release name id: version uses: mad9000/actions-find-and-replace-string@4 with: - source: "${{ steps.tagName.outputs.tag }}" + source: "${{ steps.get_tag.outputs.tag }}" find: "v" replace: "" From 5ec9709e2548a43b82a41d1b81a3bd17915cf59f Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 26 Nov 2023 14:01:20 +0100 Subject: [PATCH 35/42] ci: commit changes to AssemblyInfo.cs --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d197921..138bfac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -91,5 +91,6 @@ jobs: - name: Push the changes made to update.xml run: | git add update.xml + git add ${{ env.projectFolder }}/Properties/AssemblyInfo.cs git commit -m "chore(update): update update.xml" git push origin ${{ github.event.repository.default_branch }} From 76ec74cd957a8a7bfac7bbd31a56f1a5ee3f4976 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 26 Nov 2023 14:12:50 +0100 Subject: [PATCH 36/42] ci: clarify commit message --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 138bfac..fc6cd0c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,5 +92,5 @@ jobs: run: | git add update.xml git add ${{ env.projectFolder }}/Properties/AssemblyInfo.cs - git commit -m "chore(update): update update.xml" + git commit -m "chore(release): ${{ github.event.release.tag_name }}" git push origin ${{ github.event.repository.default_branch }} From 51ee4b3ebcf54db2b5ad1f2c52f2b6cbfae5b303 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 26 Nov 2023 14:23:11 +0100 Subject: [PATCH 37/42] ci: correct description --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc6cd0c..26b26f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,6 @@ # Builds a .NET framework project in Release mode when a new release is created # and uploads the build results to the newly created release -# then updates update.xml (NOT IMPLEMENTED YET) -# assumes the version in Properties/AssemblyInfo.cs has already been updated +# then updates update.xml and Properties/AssemblyInfo.cs name: Publish release env: From 4652b68113a3f09ac40a8d87ae01a2aea6442ae9 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 26 Nov 2023 14:24:45 +0100 Subject: [PATCH 38/42] ci: get version from update.xml --- .github/workflows/nightly.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 934f973..3926c46 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -38,22 +38,17 @@ jobs: - name: Restore Packages run: nuget restore ${{ env.solutionFile }} - - name: Get previous tag - id: get_tag - uses: WyriHaximus/github-action-get-previous-tag@v1 - - - name: Get version from release name - id: version - uses: mad9000/actions-find-and-replace-string@4 + - name: Get version from update.xml + id: getVersion + uses: mavrosxristoforos/get-xml-info@1.2.1 with: - source: "${{ steps.get_tag.outputs.tag }}" - find: "v" - replace: "" + xml-file: update.xml + xpath: //update/@version - name: Normalize the version string into SemVer format (x.x.x) id: normalizeVersion run: | - $versionString = "${{ steps.version.outputs.value }}" + $versionString = "${{ steps.getVersion.outputs.info }}" $digits = $versionString.Split(".").Length if ($digits -eq 1) { $versionString += ".0.0" } elseif ($digits -eq 2) { $versionString += ".0" } From 85632def9e4c942625e44b75ac03b141cc01ddd4 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 26 Nov 2023 14:30:58 +0100 Subject: [PATCH 39/42] ci: don't care about tags --- .github/workflows/nightly.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3926c46..f9220f6 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -10,8 +10,6 @@ on: workflow_dispatch: push: - tags: - - "*" branches-ignore: - "gh-pages" From 3a256d686a2fb3951c6d33500de5ec9601352ba9 Mon Sep 17 00:00:00 2001 From: Github Actions Bot <> Date: Sun, 26 Nov 2023 13:32:22 +0000 Subject: [PATCH 40/42] chore(release): v3.0.7 --- FunkeySelector/Properties/AssemblyInfo.cs | 6 +++--- update.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FunkeySelector/Properties/AssemblyInfo.cs b/FunkeySelector/Properties/AssemblyInfo.cs index 5fd9195..33eee26 100644 --- a/FunkeySelector/Properties/AssemblyInfo.cs +++ b/FunkeySelector/Properties/AssemblyInfo.cs @@ -31,6 +31,6 @@ // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("3.0.0.0")] -[assembly: AssemblyFileVersion("3.0.0.0")] +// [assembly: AssemblyVersion("3.0.7.13")] +[assembly: AssemblyVersion("3.0.7.13")] +[assembly: AssemblyFileVersion("3.0.7.13")] diff --git a/update.xml b/update.xml index 2c9f8e6..2ebf7aa 100644 --- a/update.xml +++ b/update.xml @@ -1 +1 @@ - + From e284052c7aec794859ff1fb130e9119438d29256 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 26 Nov 2023 15:15:42 +0100 Subject: [PATCH 41/42] ci: add warning about unintended behavior --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 26b26f9..e3da8d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: contents: write id-token: write strategy: - matrix: + matrix: # please please please don't put multiple build configurations in here, it will cause unintended behaviour configuration: [ Release ] runs-on: windows-2019 steps: From 9a59535cb323ce190b1c413873e9afa051641356 Mon Sep 17 00:00:00 2001 From: NanderTGA <65074195+NanderTGA@users.noreply.github.com> Date: Sun, 26 Nov 2023 15:16:16 +0100 Subject: [PATCH 42/42] revert: changes from test releases --- FunkeySelector/Properties/AssemblyInfo.cs | 6 +++--- update.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FunkeySelector/Properties/AssemblyInfo.cs b/FunkeySelector/Properties/AssemblyInfo.cs index 33eee26..5fd9195 100644 --- a/FunkeySelector/Properties/AssemblyInfo.cs +++ b/FunkeySelector/Properties/AssemblyInfo.cs @@ -31,6 +31,6 @@ // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -// [assembly: AssemblyVersion("3.0.7.13")] -[assembly: AssemblyVersion("3.0.7.13")] -[assembly: AssemblyFileVersion("3.0.7.13")] +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("3.0.0.0")] +[assembly: AssemblyFileVersion("3.0.0.0")] diff --git a/update.xml b/update.xml index 2ebf7aa..f6f85c5 100644 --- a/update.xml +++ b/update.xml @@ -1 +1 @@ - +