Skip to content

Commit f448b52

Browse files
committed
v1.2.6
1 parent 16e81f7 commit f448b52

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424

2525
- name: Prepare metadata and icon
2626
run: |
27-
# Remove the leading 'v' from the commit message
28-
VERSION=$(echo "${{ github.event.head_commit.message }}" | sed 's/^v//')
27+
# Remove the leading 'v' from the commit message using PowerShell
28+
$VERSION = "${{ github.event.head_commit.message }}" -replace '^v', ''
2929
3030
# Create versioninfo.json with dynamic version numbers
3131
echo "{
@@ -77,4 +77,4 @@ jobs:
7777
proxy-reset-arm64.exe
7878
proxy-reset-arm64.zip
7979
tag: '${{ github.event.head_commit.message }}'
80-
draft: true
80+
draft: true

0 commit comments

Comments
 (0)