Skip to content

Commit

Permalink
chore(versioning): update GitHub Actions workflow to use --follow-tag…
Browse files Browse the repository at this point in the history
…s for git push

- Modified the versioning workflow to use `git push --follow-tags` instead of `git push origin --tags`, ensuring that all relevant tags are pushed along with the commits.
- This change enhances the tagging process by automatically pushing tags created during the versioning step, streamlining the release workflow.
  • Loading branch information
devaryakjha committed Dec 26, 2024
1 parent 2ea672e commit d8d9fa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ jobs:
- name: Create Git Tags
run: |
melos version --yes --no-git-tag-version --prerelease -r
melos exec -c 1 --no-private -- "git tag \$MELOS_PACKAGE_NAME-v\$MELOS_PACKAGE_VERSION"
git push origin --tags
melos exec -c 1 "git tag \$MELOS_PACKAGE_NAME-v\$MELOS_PACKAGE_VERSION"
git push --follow-tags

0 comments on commit d8d9fa8

Please sign in to comment.