Skip to content

Commit fb9d227

Browse files
author
Mindee
committed
test
1 parent ba0fa1e commit fb9d227

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/tag-version.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
on:
3+
push:
4+
branches:
5+
- tag-test
6+
7+
jobs:
8+
tag-version:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- name: Get version
14+
id: get_version
15+
run: |
16+
MSG_START=':bookmark: Version ';
17+
version=$(git log -1 --skip=0 --pretty=%s | grep -oP "(?<=${MSG_START})[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}");

0 commit comments

Comments
 (0)