Skip to content

Commit

Permalink
Merge pull request #201 from DAOmasons/bumpVersions
Browse files Browse the repository at this point in the history
add versioning bump script
  • Loading branch information
jordanlesich authored May 9, 2024
2 parents cc2e0c9 + 562e36e commit f268a3f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Bump version

on:
push:
branches:
- main

jobs:
bump-version:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Bump version
uses: phips28/gh-action-bump-version@v1.x
with:
minor-wording: 'feature'
major-wording: 'BREAKING CHANGE'
rc-wording: 'rc'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Push changes
run: |
git config --global user.name 'github-actions'
git config --global user.email 'github-actions@github.com'
git push
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grant-ship-app",
"private": true,
"version": "0.1.1",
"version": "0.2.0",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
Expand Down

0 comments on commit f268a3f

Please sign in to comment.