Skip to content

Commit 8bf1868

Browse files
committed
Update yml version tag in github action
1 parent 56e4fc4 commit 8bf1868

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/tagged_release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
cache-dependency-path: '**/package-lock.json'
3434

3535
- name: Set tag version
36-
run: echo "tagVersion=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
36+
run: |
37+
echo "tagVersion=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
38+
yq eval -i '.version = "${{ env.tagVersion }}"' documentation/js-sdk-guide/antora.yml
3739
3840
- name: Install Dependencies
3941
run: npm install

documentation/js-sdk-guide/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: js-sdk-guide
22
title: JavaScript SDK
3-
version: 2.0.0
3+
version: main
44
start_page: ROOT:index.adoc
55
nav:
66
- modules/ROOT/nav.adoc

0 commit comments

Comments
 (0)