Skip to content

Commit a1566a4

Browse files
authored
Update auto_tag_master.yml
1 parent d05aaef commit a1566a4

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/auto_tag_master.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,21 @@ jobs:
1818
- uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
21-
22-
- name: Bump version and tag
21+
22+
- name: Get manifest version
23+
id: manifest_version
24+
run: |
25+
version=$(jq -r .version public/base.manifest.json)
26+
echo "version=$version" >> $GITHUB_OUTPUT
27+
28+
- name: Bump version and push tag
2329
id: tag_version
2430
uses: anothrNick/[email protected]
2531
env:
2632
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2733
WITH_V: true
34+
INITIAL_VERSION: ${{ steps.manifest_version.outputs.version }}
35+
RELEASE_BRANCHES: ^(master|main)$
2836
DEFAULT_BUMP: patch
2937

3038
- name: Update manifest.json

0 commit comments

Comments
 (0)