Skip to content

version update and auto-release #31

version update and auto-release

version update and auto-release #31

Workflow file for this run

name: version update and auto release
run-name: version update and auto-release
on:
push:
branches:
- main
jobs:
version-bump-up:
runs-on: ubuntu-latest
steps:
- name: install node
uses: actions/setup-node@v3
with:
node-version: "20.x"
persist-credentials: false
token: ${{secrets.GITHUB_TOKEN}}
- name: Install Yarn
run: |
npm install -g yarn@latest
yarn version
- name: checkout
uses: actions/checkout@v4
- name: install dependency
run: yarn
- name: set up git and authenticate
run: |
git config --global user.email "[email protected]"
git config --global user.name "shrilakshmishastry"
- name: version bump up
run: |
yarn --new-version patch
cat package.json
- name: push changes and create the tag
run: |
git push --tags