From bcd2d14f0143da2ca90a5807a5b659be7858665b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20G=C3=B6risch?= Date: Sat, 19 Nov 2022 18:22:22 +0100 Subject: [PATCH] get version from github tags --- .github/workflows/pre_release.yml | 3 +++ .github/workflows/release.yml | 3 +++ packages/aws-cdk-v2/package.json | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre_release.yml b/.github/workflows/pre_release.yml index c7aca9ed..16f43cdb 100644 --- a/.github/workflows/pre_release.yml +++ b/.github/workflows/pre_release.yml @@ -34,6 +34,9 @@ jobs: env: CI: true + - name: Set Version + run: npm --prefix ./packages/aws-cdk-v2 version ${{ github.ref }}-beta + - name: build run: npm run build:aws-cdk diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b041ac7..b4c992bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,9 @@ jobs: env: CI: true + - name: Set Version + run: npm --prefix ./packages/aws-cdk-v2 version ${{ github.ref }} + - name: build run: npm run build:aws-cdk diff --git a/packages/aws-cdk-v2/package.json b/packages/aws-cdk-v2/package.json index 10a88233..84d351af 100644 --- a/packages/aws-cdk-v2/package.json +++ b/packages/aws-cdk-v2/package.json @@ -1,6 +1,6 @@ { "name": "@ago-dev/nx-aws-cdk-v2", - "version": "1.3.0-beta.1", + "version": "1.3.0", "main": "src/index.js", "generators": "./generators.json", "executors": "./executors.json",