Skip to content

Commit 3bca2ce

Browse files
authored
Merge pull request #1211 from KelvinTegelaar/dev
Dev to master
2 parents e44881d + 1edeca1 commit 3bca2ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish_release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
tag: ${{ steps.get_version.outputs.version }}
6363
name: "v${{ steps.get_version.outputs.version }}"
6464
draft: false
65-
prerelease: true
65+
prerelease: false
66+
makeLatest: true
6667
body: ${{ steps.changelog.outputs.changelog }}
6768
env:
6869
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Modules/CIPPCore/Public/Assert-CippVersion.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ function Assert-CippVersion {
1414
$APIVersion = (Get-Content 'version_latest.txt' -Raw).trim()
1515

1616
$RemoteAPIVersion = (Invoke-RestMethod -Uri 'https://raw.githubusercontent.com/KelvinTegelaar/CIPP-API/master/version_latest.txt').trim()
17-
$RemoteCIPPVersion = (Invoke-RestMethod -Uri 'https://raw.githubusercontent.com/KelvinTegelaar/CIPP/main/public/version_latest.txt').trim()
18-
17+
$RemoteCIPPVersion = (Invoke-RestMethod -Uri 'https://raw.githubusercontent.com/KelvinTegelaar/CIPP/main/public/version.json').version
1918

2019
[PSCustomObject]@{
2120
LocalCIPPVersion = $CIPPVersion

0 commit comments

Comments
 (0)