Skip to content

Commit 3afa685

Browse files
authored
(chore) tagged deployments for language server and svelte2tsx (#920)
Also dont deploy svelte2tsx / ls nightly anymore
1 parent e4c6550 commit 3afa685

File tree

8 files changed

+84
-3
lines changed

8 files changed

+84
-3
lines changed

.github/workflows/Deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ jobs:
4444
OVSX_TOKEN: ${{ secrets.OVSX_TOKEN }}
4545
with:
4646
sort: '["svelte2tsx", "svelte-language-server", "svelte-check", "svelte-vscode-nightly"]'
47-
only: '["svelte2tsx", "svelte-language-server", "svelte-vscode-nightly"]'
47+
only: '["svelte-vscode-nightly"]'
4848
install: "true"

.github/workflows/DeployExtensionsProd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Tagged Production Deploys
1+
name: Tagged Production Deploys for VS Code
22

33
on:
44
push:
+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Tagged Production Deploys for svelte2tsx
2+
3+
on:
4+
push:
5+
tags:
6+
- "svelte2tsx-*"
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: "12.x"
17+
registry-url: "https://registry.npmjs.org"
18+
19+
# Ensure everything is compiling
20+
- run: "yarn install"
21+
- run: "yarn build"
22+
23+
# Lets us use one-liner JSON manipulations the package.json files
24+
- run: "npm install -g json"
25+
26+
# Setup the environment
27+
- run: 'json -I -f packages/svelte2tsx/package.json -e "this.version=\`${{ github.ref }}\`.split(\`-\`).pop()"'
28+
29+
# Ship it
30+
- run: |
31+
cd packages/svelte2tsx
32+
npm install
33+
npm publish
34+
35+
env:
36+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/DeploySvelteCheckProd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Tagged Production Deploys
1+
name: Tagged Production Deploys for svelte-check
22

33
on:
44
push:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Tagged Production Deploys For svelte-language-server
2+
3+
on:
4+
push:
5+
tags:
6+
- "language-server-*"
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: "12.x"
17+
registry-url: "https://registry.npmjs.org"
18+
19+
# Ensure everything is compiling
20+
- run: "yarn install"
21+
- run: "yarn build"
22+
23+
# Lets us use one-liner JSON manipulations the package.json files
24+
- run: "npm install -g json"
25+
26+
# Setup the environment
27+
- run: 'json -I -f packages/language-server/package.json -e "this.version=\`${{ github.ref }}\`.split(\`-\`).pop()"'
28+
29+
# Ship it
30+
- run: |
31+
cd packages/language-server
32+
npm install
33+
npm publish
34+
35+
env:
36+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

packages/language-server/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Changelog
2+
3+
See https://github.com/sveltejs/language-tools/releases

packages/svelte-check/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Changelog
2+
3+
See https://github.com/sveltejs/language-tools/releases

packages/svelte2tsx/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Changelog
2+
3+
See https://github.com/sveltejs/language-tools/releases

0 commit comments

Comments
 (0)