Skip to content

Commit

Permalink
Updated workflow release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarmaged committed Jun 20, 2024
1 parent 4c0c6b3 commit ccdf201
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
NEW_VERSION=${GITHUB_REF#refs/tags/v}
NEW_BRANCH=release-v${NEW_VERSION}
git checkout -b ${NEW_BRANCH}
git push origin ${NEW_BRANCH}
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
echo "NEW_BRANCH=$NEW_BRANCH" >> $GITHUB_ENV
Expand All @@ -45,12 +46,6 @@ jobs:
- name: Build the package
run: yarn build

- name: Commit and push changes
run: |
git add .
git commit -m "Update version to $NEW_VERSION and upgrade dependencies"
git push origin ${NEW_BRANCH}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
Expand Down

0 comments on commit ccdf201

Please sign in to comment.