Commit caf103480b

caf103480bdb1612f84b6a13b5d1a31bc50ed67f

parent: 53d134f66f

Unsigned

Wraient <wraient.911@gmail.com> · 2024-10-26 18:35 UTC

Fix: Pls work

Layout: unified · split

.github/workflows/ci-cd.yml +9 −8
@@ -86,18 +86,19 @@ jobs:
8686 Remove-Item "is.exe"
8787
8888 - name: List Build Directory
89 run: dir
89 run: tree /F
9090
9191 - name: Bump Version
9292 id: bump_version
9393 run: |
94 current_version=$(cat VERSION.txt)
95 # Increment the patch version
96 IFS='.' read -r major minor patch <<< "$current_version"
97 new_patch=$((patch + 1))
98 new_version="$major.$minor.$new_patch"
99 echo "$new_version" > VERSION.txt
100 echo "New version: $new_version"
94 $current_version = Get-Content VERSION.txt
95 $version_parts = $current_version -split '\.'
96 $major = $version_parts[0]
97 $minor = $version_parts[1]
98 $patch = [int]$version_parts[2] + 1
99 $new_version = "$major.$minor.$patch"
100 $new_version | Set-Content VERSION.txt
101 Write-Host "New version: $new_version"
101102 git config user.name "GitHub Actions"
102103 git config user.email "actions@github.com"
103104 git add VERSION.txt
VERSION.txt added +1
@@ -0,0 +1 @@
10.0.3
\ No newline at end of file