Skip to content

Commit

Permalink
v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
anuradha9712 committed Oct 25, 2024
1 parent e59ae4c commit 64eadf9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,20 @@ jobs:
if: steps.is_release_commit.outputs.result == 1
run: git checkout -b preparing-module-for-npm-publish && git config --global user.email "release-bot@innovaccer.com" && git config --global user.name "release-bot"

- name: setup git
- name: git status
if: steps.is_release_commit.outputs.result == 1
run: git status

- name: stage changes
if: steps.is_release_commit.outputs.result == 1
run: git add package-lock.json

- name: commit changes
if: steps.is_release_commit.outputs.result == 1
run: |
echo $(git log -1 --pretty=format:%s)
git commit -m $(git log -1 --pretty=format:%s)
- name: bump module version
if: steps.is_release_commit.outputs.result == 1
run: npm version $(git log -1 --pretty=format:%s) -m "Released %s"
Expand Down

0 comments on commit 64eadf9

Please sign in to comment.