From d69f1c8dad78d899a99b857e097e41a4803fb924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20G=C3=B6risch?= Date: Sat, 19 Nov 2022 18:36:34 +0100 Subject: [PATCH] User github.ref_name --- .github/workflows/pre_release.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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