diff --git a/.github/workflows/publish-plugin-and-cli-from-branch.yml b/.github/workflows/publish-plugin-and-cli-from-branch.yml index f8ac2e2f64..d6c34c8f96 100644 --- a/.github/workflows/publish-plugin-and-cli-from-branch.yml +++ b/.github/workflows/publish-plugin-and-cli-from-branch.yml @@ -40,7 +40,7 @@ jobs: run: | # "You can make an environment variable available to any subsequent steps in a workflow job by # defining or updating the environment variable and writing this to the GITHUB_ENV environment file." - echo "VERSION="$(date +%Y).$(date +%-m)"" >> $GITHUB_ENV + echo "VERSION="$(date +%Y).$(date +%-m).${GITHUB_RUN_NUMBER}"" >> $GITHUB_ENV echo "POSTFIX=${{ github.event.inputs.version-postfix }}" >> $GITHUB_ENV - name: Create version with postfix