Skip to content

Commit 3e5e568

Browse files
colleenmcginnismarciwJoshMock
authored
[docs] Migrate docs from AsciiDoc to Markdown (#2635)
* delete asciidoc files * add migrated files * Apply suggestions from review Co-authored-by: Josh Mock <[email protected]> * Apply suggestions from review Co-authored-by: Josh Mock <[email protected]> * add the new ci checks (#2634) --------- Co-authored-by: Marci W <[email protected]> Co-authored-by: Josh Mock <[email protected]>
1 parent ac231c8 commit 3e5e568

File tree

142 files changed

+18205
-31133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+18205
-31133
lines changed

.github/workflows/npm-publish.yml

+8-27
Original file line numberDiff line numberDiff line change
@@ -23,38 +23,19 @@ jobs:
2323
- run: npm install -g npm
2424
- run: npm install
2525
- run: npm test
26-
- name: npm publish
27-
run: |
28-
version=$(jq -r .version package.json)
29-
tag_meta=$(echo "$version" | cut -s -d '-' -f2)
30-
if [[ -z "$tag_meta" ]]; then
31-
npm publish --provenance --access public
32-
else
33-
tag=$(echo "$tag_meta" | cut -d '.' -f1)
34-
npm publish --provenance --access public --tag "$tag"
35-
fi
26+
- run: npm publish --provenance --access public --tag alpha
3627
env:
3728
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3829
- name: Publish version on GitHub
3930
run: |
4031
version=$(jq -r .version package.json)
41-
tag_meta=$(echo "$version" | cut -s -d '-' -f2)
42-
if [[ -z "$tag_meta" ]]; then
43-
gh release create \
44-
-n "[Changelog](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/$BRANCH_NAME/changelog-client.html)"
45-
--target "$BRANCH_NAME" \
46-
--title "v$version" \
47-
"v$version"
48-
else
49-
tag_main=$(echo "$version" | cut -d '-' -f1)
50-
gh release create \
51-
-n "This is a $tag_main pre-release. Changes may not be stable." \
52-
--latest=false \
53-
--prerelease \
54-
--target "$BRANCH_NAME" \
55-
--title "v$version" \
56-
"v$version"
57-
fi
32+
gh release create \
33+
-n "This is a 9.0.0 pre-release alpha. Changes may not be stable." \
34+
--latest=false \
35+
--prerelease \
36+
--target "$BRANCH_NAME" \
37+
--title "v$version" \
38+
"v$version"
5839
env:
5940
BRANCH_NAME: ${{ github.event.inputs.branch }}
6041
GH_TOKEN: ${{ github.token }}

docs/basic-config.asciidoc

-269
This file was deleted.

0 commit comments

Comments
 (0)