We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b910f60 commit 3d66434Copy full SHA for 3d66434
.github/workflows/build.yml
@@ -195,7 +195,7 @@ jobs:
195
196
- name: Set variables
197
run: |
198
- VERSION=${GITHUB_REF_NAME,,}-$(git rev-parse --short HEAD)
+ VERSION="${GITHUB_REF_NAME,,}-$(git rev-parse --short HEAD)"
199
PackageVersion="$(curl -s "https://api.github.com/repos/MetaCubeX/mihomo/releases/latest" | jq -r '.tag_name' | sed 's/v//g' | awk -F '.' '{$NF = $NF + 1; print}' OFS='.').${VERSION/-/.}"
200
if [ -n "${{ github.event.inputs.version }}" ]; then
201
VERSION=${{ github.event.inputs.version }}
0 commit comments