diff --git a/.github/workflows/common-release.yml b/.github/workflows/common-release.yml index b4ccb57c..a31d7fe9 100644 --- a/.github/workflows/common-release.yml +++ b/.github/workflows/common-release.yml @@ -110,16 +110,16 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ secrets.AWS_REGION }} - # - name: Set Latest Tag - # run: | - # mkdir tags - # echo "v${{ env.RELEASE_VERSION }}" > tags/latest + - name: Set Latest Tag + run: | + mkdir tags + echo "v${{ env.RELEASE_VERSION }}" > tags/latest - # - name: Deploy Latest Tag to S3 - # run: aws s3 cp --recursive tags s3://${{ secrets.AWS_BUCKET_NAME }}/ + - name: Deploy Latest Tag to S3 + run: aws s3 cp --recursive tags s3://${{ secrets.AWS_BUCKET_NAME }}/ - # - name: Remove Latest Tag - # run: rm -rf tags + - name: Remove Latest Tag + run: rm -rf tags - name: Deploy to S3 run: | @@ -136,7 +136,7 @@ jobs: - name: Publish SDK run: | if [ "${{ inputs.TAG }}" == "beta" ]; then - npm publish --tag v${{ env.RELEASE_VERSION }} + npm publish --tag ${{ inputs.TAG }} elif [ "${{ inputs.TAG }}" == "internal" ]; then curl -u ${{ secrets.JFROG_USERNAME }}:${{ secrets.JFROG_PASSWORD }} https://prekarilabs.jfrog.io/prekarilabs/api/npm/auth/ > ~/.npmrc npm config set registry https://prekarilabs.jfrog.io/prekarilabs/api/npm/npm/