Skip to content

Commit a08ce12

Browse files
committed
izhgddashd
1 parent 1c9e11d commit a08ce12

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/actions/format-version/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ inputs:
99
patch:
1010
description: 'Patch version to append to the formatted version.'
1111
required: true
12-
build:
13-
description: 'Commit delta to append to the formatted version.'
12+
build-number:
13+
description: 'Build number to append to the formatted version.'
1414
required: true
1515
sha:
1616
description: 'Commit SHA to append to the formatted version.'
@@ -56,11 +56,11 @@ runs:
5656
id: format-version
5757
run: |
5858
echo "friendly-version=${{ inputs.version }}" >> $GITHUB_OUTPUT
59-
echo "assembly-version=${{ inputs.version }}.${{ inputs.patch }}.${{ inputs.commit-delta }}" >> $GITHUB_OUTPUT
60-
echo "assembly-informational-version=${{ inputs.version }}.${{ inputs.patch }}+${{ inputs.commit-sha }}" >> $GITHUB_OUTPUT
61-
echo "file-version=${{ inputs.version }}.${{ inputs.patch }}.${{ inputs.commit-delta }}" >> $GITHUB_OUTPUT
59+
echo "assembly-version=${{ inputs.version }}.${{ inputs.patch }}.${{ inputs.build-number }}" >> $GITHUB_OUTPUT
60+
echo "assembly-informational-version=${{ inputs.version }}.${{ inputs.patch }}+${{ inputs.sha }}" >> $GITHUB_OUTPUT
61+
echo "file-version=${{ inputs.version }}.${{ inputs.patch }}.${{ inputs.build-number }}" >> $GITHUB_OUTPUT
6262
if [ -n "${{ inputs.prerelease-tag }}" ]; then
63-
echo "package-version=${{ inputs.version }}.${{ inputs.patch }}-${{ inputs.pre-release-tag }}-${{ inputs.commit-delta }}" >> $GITHUB_OUTPUT
63+
echo "package-version=${{ inputs.version }}.${{ inputs.patch }}-${{ inputs.pre-release-tag }}-${{ inputs.build-number }}" >> $GITHUB_OUTPUT
6464
else
65-
echo "package-version=${{ inputs.version }}.${{ inputs.patch }}.${{ inputs.commit-delta }}" >> $GITHUB_OUTPUT
65+
echo "package-version=${{ inputs.version }}.${{ inputs.patch }}.${{ inputs.build-number }}" >> $GITHUB_OUTPUT
6666
fi

0 commit comments

Comments
 (0)