We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16e81f7 commit f448b52Copy full SHA for f448b52
1 file changed
.github/workflows/build.yml
@@ -24,8 +24,8 @@ jobs:
24
25
- name: Prepare metadata and icon
26
run: |
27
- # Remove the leading 'v' from the commit message
28
- VERSION=$(echo "${{ github.event.head_commit.message }}" | sed 's/^v//')
+ # Remove the leading 'v' from the commit message using PowerShell
+ $VERSION = "${{ github.event.head_commit.message }}" -replace '^v', ''
29
30
# Create versioninfo.json with dynamic version numbers
31
echo "{
@@ -77,4 +77,4 @@ jobs:
77
proxy-reset-arm64.exe
78
proxy-reset-arm64.zip
79
tag: '${{ github.event.head_commit.message }}'
80
- draft: true
+ draft: true
0 commit comments