Skip to content

Commit 484c643

Browse files
committed
Fix antora version and add env during release into antora
1 parent 495e877 commit 484c643

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/tagged_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
echo "tagVersion=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
3838
yq eval -i '.version = "${{ env.tagVersion }}"' documentation/js-sdk-guide/antora.yml
3939
40+
- name: Set antora version
41+
run: yq eval -i '.version = env.TAGVERSION' documentation/js-sdk-guide/antora.yml
42+
4043
- name: Install Dependencies
4144
run: npm install
4245

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: main
3+
version: master
44
start_page: ROOT:index.adoc
55
nav:
66
- modules/ROOT/nav.adoc

0 commit comments

Comments
 (0)