Skip to content

Commit 9ec4593

Browse files
committed
Merge branch 'release' of github.com:magebitcom/magento-toolbox into feature/generate-preference
2 parents 428afa1 + 6c409da commit 9ec4593

File tree

5 files changed

+1108
-67
lines changed

5 files changed

+1108
-67
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Auto bump version
2+
on:
3+
push:
4+
branches:
5+
- release
6+
7+
jobs:
8+
version:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Use Node.js 20.x
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: 20.x
17+
- run: npm install
18+
- name: Bumping version
19+
id: bump
20+
uses: jpb06/bump-package@latest
21+
with:
22+
major-keywords: breaking,major
23+
minor-keywords: feat,minor
24+
patch-keywords: fix,chore

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Main
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Install
15+
run: npm install
16+
- name: Package
17+
run: npm run package-vsix
18+
- name: Release
19+
uses: softprops/action-gh-release@v2
20+
if: startsWith(github.ref, 'refs/tags/')
21+
with:
22+
files: '*.vsix'

0 commit comments

Comments
 (0)