Skip to content

Commit 1445523

Browse files
author
Mindee
committed
test
1 parent ba0fa1e commit 1445523

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/tag-version.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
run: |
15+
msg_start=':bookmark: Version '
16+
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)