diff --git a/.github/workflows/pre_release.yml b/.github/workflows/pre_release.yml index cde68ba4..6efe9dd9 100644 --- a/.github/workflows/pre_release.yml +++ b/.github/workflows/pre_release.yml @@ -35,7 +35,7 @@ jobs: CI: true - name: Set Version - run: npm --prefix ./packages/aws-cdk-v2 version ${{ github.ref }} + run: npm --prefix ./packages/aws-cdk-v2 version ${{ github.ref_name }} - name: build run: npm run build:aws-cdk diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4c992bc..c9424f68 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: CI: true - name: Set Version - run: npm --prefix ./packages/aws-cdk-v2 version ${{ github.ref }} + run: npm --prefix ./packages/aws-cdk-v2 version ${{ github.ref_name }} - name: build run: npm run build:aws-cdk