Skip to content

Commit

Permalink
chore: update release system
Browse files Browse the repository at this point in the history
  • Loading branch information
Clovis committed Nov 2, 2024
1 parent bf11627 commit c78a017
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Bump version
run: |
git config --global user.name 'BDX.town'
git config --global user.email '[email protected]'
npx commit-and-tag-version
git push --follow-tag origin master
3 changes: 2 additions & 1 deletion .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: NodeJS with Webpack

on:
push:
branches: [ "master" ]
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
build:
Expand Down

0 comments on commit c78a017

Please sign in to comment.