Skip to content

Commit

Permalink
fix: make express generator respect it's version while publishing (#3084
Browse files Browse the repository at this point in the history
)
  • Loading branch information
armandobelardo authored Feb 29, 2024
1 parent fb6d74f commit cf8ac55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -624,14 +624,14 @@ jobs:
- name: Print Version
if: ${{ inputs.generator != 'ts-sdk' }}
run: |
projectVersion=$(cat generators/typescript/sdk/VERSION)
projectVersion=$(cat generators/typescript/express/VERSION)
echo $projectVersion
echo "VERSION=$projectVersion" >> $GITHUB_ENV
- name: Print Version Dev
if: ${{ inputs.generator == 'ts-sdk' }}
run: |
projectVersion=$(cat generators/typescript/sdk/VERSION)
projectVersion=$(cat generators/typescript/express/VERSION)
commitNumber=$(git log --oneline | wc -l )
sha_short=$(git rev-parse --short HEAD)
echo $projectVersion-$commitNumber-$sha_short
Expand Down

0 comments on commit cf8ac55

Please sign in to comment.