Skip to content

Commit

Permalink
Update publish-library.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallpete authored Nov 7, 2023
1 parent e76bf41 commit f2e625b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ jobs:
# Commit the changes
git config user.name "GitHub Actions"
git config user.email "actions@users.noreply.github.com"
git checkout -b release/$tag
branch_name="release-$tag"
git checkout -b $branch_name
git add package.json
git commit -m "Update package version to $tag"
git push origin release/$tag
git push origin $branch_name
- name: Create Pull Request
Expand All @@ -49,7 +50,7 @@ jobs:
commit-message: "Create PR to update version to $tag"
title: "Update version to $tag"
body: "This PR updates the version in package.json to $tag."
branch: release/$tag
branch: $branch_name
base: "main"


Expand Down

0 comments on commit f2e625b

Please sign in to comment.