Skip to content

Commit 126f420

Browse files
authored
Add build number to the published plugin (#918)
1 parent 820848a commit 126f420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-plugin-and-cli-from-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: |
4141
# "You can make an environment variable available to any subsequent steps in a workflow job by
4242
# defining or updating the environment variable and writing this to the GITHUB_ENV environment file."
43-
echo "VERSION="$(date +%Y).$(date +%-m)"" >> $GITHUB_ENV
43+
echo "VERSION="$(date +%Y).$(date +%-m).${GITHUB_RUN_NUMBER}"" >> $GITHUB_ENV
4444
echo "POSTFIX=${{ github.event.inputs.version-postfix }}" >> $GITHUB_ENV
4545
4646
- name: Create version with postfix

0 commit comments

Comments
 (0)