Skip to content

Commit 56c7278

Browse files
committed
fix major-feature
1 parent 68c71b9 commit 56c7278

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- name: Get major-feature from version
8484
id: get-major-feature
8585
run: |
86-
echo "MAJOR_FEATURE=$(echo "${{ github.event.inputs.version }} | cut -d '.' -f 1,2)" >> "$GITHUB_ENV"
86+
echo "MAJOR_FEATURE=\"$(echo "${{ github.event.inputs.version }}" | cut -d '.' -f 1,2)\"" >> "$GITHUB_ENV"
8787
- name: Verify major-feature
8888
run: |
8989
echo "major_feature: $MAJOR_FEATURE"
@@ -138,7 +138,7 @@ jobs:
138138
github-backup-utils-v${{ github.event.inputs.version }}.tar.gz,
139139
github-backup-utils_${{ github.event.inputs.version }}_all.deb
140140
tag: v${{ github.event.inputs.version }}
141-
commit: ${{ steps.get-major-feature.outputs.major-feature}}-stable
141+
commit: ${{ env.MAJOR_FEATURE }}-stable
142142
bodyFile: release-notes/${{ github.event.inputs.version }}.md
143143
draft: ${{ github.event.inputs.draft }}
144144
allowUpdates: true

0 commit comments

Comments
 (0)