From 408ea056a4e855181cffc231f95a5f21329fa065 Mon Sep 17 00:00:00 2001 From: John Duprey Date: Fri, 10 Jan 2025 09:24:10 -0500 Subject: [PATCH 1/3] Update publish_release.yml --- .github/workflows/publish_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 07063e89f9ff..8be4c1727f85 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -62,7 +62,7 @@ jobs: tag: ${{ steps.get_version.outputs.version }} name: "v${{ steps.get_version.outputs.version }}" draft: false - prerelease: true + prerelease: false body: ${{ steps.changelog.outputs.changelog }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 698acced6f7764c55c0e3616d316f65bd41dbb6e Mon Sep 17 00:00:00 2001 From: John Duprey Date: Fri, 10 Jan 2025 09:31:23 -0500 Subject: [PATCH 2/3] Update Assert-CippVersion.ps1 --- Modules/CIPPCore/Public/Assert-CippVersion.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/CIPPCore/Public/Assert-CippVersion.ps1 b/Modules/CIPPCore/Public/Assert-CippVersion.ps1 index 6642364a0a23..ac61237dcb60 100644 --- a/Modules/CIPPCore/Public/Assert-CippVersion.ps1 +++ b/Modules/CIPPCore/Public/Assert-CippVersion.ps1 @@ -14,8 +14,7 @@ function Assert-CippVersion { $APIVersion = (Get-Content 'version_latest.txt' -Raw).trim() $RemoteAPIVersion = (Invoke-RestMethod -Uri 'https://raw.githubusercontent.com/KelvinTegelaar/CIPP-API/master/version_latest.txt').trim() - $RemoteCIPPVersion = (Invoke-RestMethod -Uri 'https://raw.githubusercontent.com/KelvinTegelaar/CIPP/main/public/version_latest.txt').trim() - + $RemoteCIPPVersion = (Invoke-RestMethod -Uri 'https://raw.githubusercontent.com/KelvinTegelaar/CIPP/main/public/version.json').version [PSCustomObject]@{ LocalCIPPVersion = $CIPPVersion From 6edfd038434514e09d0926dd5f25f6394cdbcf29 Mon Sep 17 00:00:00 2001 From: John Duprey Date: Fri, 10 Jan 2025 09:35:17 -0500 Subject: [PATCH 3/3] tweak workflow --- .github/workflows/publish_release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 8be4c1727f85..b1a2146b9fad 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -63,6 +63,7 @@ jobs: name: "v${{ steps.get_version.outputs.version }}" draft: false prerelease: false + makeLatest: true body: ${{ steps.changelog.outputs.changelog }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}