Skip to content

Commit

Permalink
ci: Add preview version failover (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender authored Mar 5, 2024
1 parent b36723e commit 2e558a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Compose version
id: compose
run: |
COMPOSED_VERSION=${{ steps.gitversion.outputs.majorMinorPatch }}${{ inputs.preview && '-preview.' || '' }}${{ inputs.preview && steps.gitversion.outputs.preReleaseNumber || '' }}
COMPOSED_VERSION=${{ steps.gitversion.outputs.majorMinorPatch }}${{ inputs.preview && '-preview.' || '' }}${{ inputs.preview && steps.gitversion.outputs.preReleaseNumber || inputs.preview && github.run_number || '' }}
echo "version=$COMPOSED_VERSION" >> "$GITHUB_OUTPUT"
echo "COMPOSED_VERSION=$COMPOSED_VERSION" >> "$GITHUB_ENV"
Expand Down

0 comments on commit 2e558a2

Please sign in to comment.