Skip to content

Commit

Permalink
Update release.yml (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrilakshmishastry authored Mar 25, 2024
2 parents 5e79aa8 + 6befead commit 806f354
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,22 @@ jobs:
persist-credentials: false
token: ${{secrets.GITHUB_TOKEN}}

- name: Install Yarn
run: npm install -g yarn@latest

- name: install dependencies
run: yarn
echo "${{yarn version}}"

- name: set up git and authenticate
run: |
git config --global user.email "[email protected]"
git config --global user.name "shrilakshmishastry"
- name: checkout to a new branch
run: |
git checkout -b pr-merge-to-develop-temp-branch
git add .
git commit -m "chore: release new tag "
git push origin pr-merge-to-develop-temp-branch

- name: version bump up
run: |
yarn --new-version patch
yarn version patch
cat package.json
Expand All @@ -50,7 +48,7 @@ jobs:
commit-message: "Automated pull request creation"
title: "Update the main branch"
body: "Automatically updating the main branch via GitHub Actions"
branch: pr-merge-to-develop-temp-branch
branch: main
base: main


Expand Down

0 comments on commit 806f354

Please sign in to comment.