From 3f03dff6bad69e755ecccdb2dac57836ee826e13 Mon Sep 17 00:00:00 2001 From: Aasim Khan Date: Sat, 10 Aug 2024 18:20:43 -0700 Subject: [PATCH] Fixing release --- .github/workflows/cd.yml | 18 ++++++++++-------- package.json | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index fffa8ab..1a58b03 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Node.js uses: actions/setup-node@v4 @@ -26,6 +28,14 @@ jobs: - name: Install Dependencies run: npm install + + - name: Generate release notes + if: env.skip_release == 'false' + run: | + GIT_LOG=$(git log --pretty=format:"%h - %s (%an)" "HEAD^..HEAD") + echo "RELEASE_NOTES<> $GITHUB_ENV + echo "${GIT_LOG}" >> $GITHUB_ENV + echo "EOF" >> $GITHUB_ENV - name: Check if tag is present id: tag_check @@ -71,14 +81,6 @@ jobs: echo "No changes to push" echo "skip_release=true" >> $GITHUB_ENV fi - - - name: Generate release notes - if: env.skip_release == 'false' - run: | - GIT_LOG=$(git log --pretty=format:"%h - %s (%an)" "HEAD^..HEAD") - echo "RELEASE_NOTES<> $GITHUB_ENV - echo "${GIT_LOG}" >> $GITHUB_ENV - echo "EOF" >> $GITHUB_ENV - name: Printing release notes if: env.skip_release == 'false' diff --git a/package.json b/package.json index 0b790c6..579860e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "azdataGraph", "description": "azdataGraph is a derivative of mxGraph, which is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.", - "version": "0.0.65", + "version": "0.0.66", "homepage": "https://github.com/microsoft/azdataGraph", "author": "Microsoft", "license": "Apache-2.0",