AAE-12452 - Version published in NPM should have PR number id in the name not gh-run_id (#8218)

* AAE-11884 change tag sha action (#8118)

* AAE-12452 change npm id
This commit is contained in:
Maurizio Cacace
2023-02-01 10:29:07 +01:00
committed by GitHub
parent a720edd2cf
commit ca49693bd6
2 changed files with 23 additions and 12 deletions

View File

@@ -161,6 +161,17 @@ jobs:
with:
dry-run-flag: ${{ inputs.dry-run-release }}
- uses: ./.github/actions/download-cache-and-artifacts
- name: check PR number
id: action
uses: kamatama41/get-pr-number-action@v0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: save PR number
env:
GH_TOKEN: ${{ github.token }}
shell: bash
run: |
echo "PR_NUMBER=${{ steps.action.outputs.number }}" >> $GITHUB_ENV
- name: build libraries
run: |
set -u;

View File

@@ -82,7 +82,7 @@ fi
if [[ "${EXEC_ALPHA}" == true ]]
then
NEXT_VERSION=${NEXT_VERSION}-${TRAVIS_BUILD_NUMBER}
NEXT_VERSION=${NEXT_VERSION}-${PR_NUMBER}
fi
if [[ "${EXEC_BETA}" == true ]]