Skip to content

Commit 063b79d

Browse files
Add GitHub workflow
1 parent 08ba1b3 commit 063b79d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/main.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Create Tag
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: butlerlogic/[email protected]
14+
env:
15+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
16+
with:
17+
regex_pattern: '"version": "([0-9\.]{5}([-\+][\w\.0-9]+)?)"'
18+
root: "composer.json"
19+
tag_prefix: "v"

0 commit comments

Comments
 (0)