Skip to content

Commit

Permalink
Fixing release
Browse files Browse the repository at this point in the history
  • Loading branch information
aasimkhan30 committed Aug 11, 2024
1 parent 4dba0a1 commit 3f03dff
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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<<EOF" >> $GITHUB_ENV
echo "${GIT_LOG}" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Check if tag is present
id: tag_check
Expand Down Expand Up @@ -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<<EOF" >> $GITHUB_ENV
echo "${GIT_LOG}" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Printing release notes
if: env.skip_release == 'false'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 3f03dff

Please sign in to comment.