From 2cc9f01fec982d30a2c5a2f87fa7478ec2d62f00 Mon Sep 17 00:00:00 2001 From: rameshthoomu Date: Mon, 17 Dec 2018 10:46:28 -0500 Subject: [PATCH] FABN-1079 Publish release-1.4 API docs This updates the Publish API docs script to publish release-1.4 API docs. Change-Id: I3a50732772fe4655ddb681fbcfa10b86d1dc8a61 Signed-off-by: rameshthoomu --- package.json | 2 +- scripts/Jenkins_Scripts/Publish_API_Docs.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3777adad2e..26cfd68c27 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.4.0-rc3-snapshot", "testFabricVersion": "1.4.0-rc1", "testFabricThirdParty": "0.4.14", - "docsLatestVersion": "master", + "docsLatestVersion": "release-1.4", "main": "index.js", "repository": { "type": "gerrit", diff --git a/scripts/Jenkins_Scripts/Publish_API_Docs.sh b/scripts/Jenkins_Scripts/Publish_API_Docs.sh index a47ecec7d1..5207addcf2 100755 --- a/scripts/Jenkins_Scripts/Publish_API_Docs.sh +++ b/scripts/Jenkins_Scripts/Publish_API_Docs.sh @@ -24,4 +24,4 @@ git commit -m "SDK commit - $SDK_COMMIT" # Credentials are stored as Global Variables in Jenkins git config remote.gh-pages.url https://$NODE_SDK_USERNAME:$NODE_SDK_PASSWORD@github.com/$NODE_SDK_USERNAME/$TARGET_REPO # Push API docs to target repository -git push gh-pages release-1.4 +git push gh-pages master