Skip to content

Commit

Permalink
Merge pull request #18 from JairajJangle/develop
Browse files Browse the repository at this point in the history
chore: added git pull after cahngelogs push in gh actions
  • Loading branch information
JairajJangle authored May 5, 2024
2 parents f398a87 + def9b04 commit 0d039c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,11 @@ jobs:
- name: Generate changelog
run: yarn generate-changelog

- name: Use existing package.json version, create tag and commit changelog
- name: Use existing version, create tag and commit changelog
id: versioning
run: |
git fetch --all
git pull --rebase origin ${{ github.ref_name }}
VERSION=$(node -p "require('./package.json').version")
echo "VERSION=$VERSION" >> $GITHUB_ENV
git add CHANGELOG.md package.json
Expand Down

0 comments on commit 0d039c0

Please sign in to comment.