From 99dc416d7dd29f9a63a990600df3918876c86c56 Mon Sep 17 00:00:00 2001 From: James Sevedge Date: Mon, 4 May 2020 14:28:57 -0700 Subject: [PATCH] add automation for npm publish --- .gitlab-ci.yml | 13 ++++++++++++- README.md | 3 ++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3103e4a..0e7d68d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -91,4 +91,15 @@ pages: paths: - public only: - - develop \ No newline at end of file + - develop + +# publish package to NPM +publish_package_to_npm: + stage: publish + tags: + - cm-official-docker-executor + script: + - echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc + - npm publish + only: + - tags \ No newline at end of file diff --git a/README.md b/README.md index b0551f9..03026c4 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Benefits: ## Table of Contents - [Usage](#usage) +- [User Documentation](#user-documentation) ## Usage @@ -56,7 +57,7 @@ See the source repository [here](https://github.com/f5devcentral/f5-sdk-js). ## User Documentation -F5 SDK JS version 0.9.0 is a public preview. Documentation for this feature is coming soon to [clouddocs.f5.com](https://clouddocs.f5.com/). If you have a specific documentation request, you can file an issue through GitHub. +The F5 SDK (JS) is in public preview. Documentation for this SDK is coming soon to [clouddocs.f5.com](https://clouddocs.f5.com/). If you have a specific documentation request, you can file an issue through GitHub. ## Filing Issues and Getting Help