Skip to content

Commit f6dfe13

Browse files
authored
Use the correct directory for alias packages (#1202)
1 parent 77c56e0 commit f6dfe13

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/release.edgedb.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# edgedb
2929

3030
- name: Copy readme
31-
run: cp README.md packages/edgedb/README.md
31+
run: cp README.md edgedb/edgedb/README.md
3232

3333
- name: Build edgedb
3434
run: yarn workspace edgedb run build
@@ -37,7 +37,7 @@ jobs:
3737
name: Dry-run publish 'edgedb' to npm
3838
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
3939
with:
40-
package: packages/edgedb/package.json
40+
package: edgedb/edgedb/package.json
4141
token: ${{ secrets.NPM_TOKEN }}
4242
dry-run: true
4343

@@ -46,13 +46,13 @@ jobs:
4646
run: |
4747
echo "Version in package.json has not changed. Creating canary release."
4848
yarn workspace edgedb version --no-git-tag-version --minor
49-
CURRENT_VERSION=$(node -p "require('./packages/edgedb/package.json').version")
49+
CURRENT_VERSION=$(node -p "require('./edgedb/edgedb/package.json').version")
5050
yarn workspace edgedb version --no-git-tag-version --new-version "${CURRENT_VERSION}-canary.$(date +'%Y%m%dT%H%M%S')"
5151
5252
- name: Publish 'edgedb'
5353
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
5454
with:
55-
package: packages/edgedb/package.json
55+
package: edgedb/edgedb/package.json
5656
token: ${{ secrets.NPM_TOKEN }}
5757
access: public
5858
tag: ${{ steps.check_publish_driver.outputs.type == '' && 'canary' || 'latest' }}
@@ -77,7 +77,7 @@ jobs:
7777
name: Dry-run publish '@edgedb/generate' to npm
7878
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
7979
with:
80-
package: packages/edgedb/package.json
80+
package: edgedb/generate/package.json
8181
token: ${{ secrets.NPM_TOKEN }}
8282
dry-run: true
8383

@@ -86,13 +86,13 @@ jobs:
8686
run: |
8787
echo "Version in package.json has not changed. Creating canary release."
8888
yarn workspace @edgedb/generate version --no-git-tag-version --minor
89-
CURRENT_VERSION=$(node -p "require('./packages/generate/package.json').version")
89+
CURRENT_VERSION=$(node -p "require('./edgedb/generate/package.json').version")
9090
yarn workspace @edgedb/generate version --no-git-tag-version --new-version "${CURRENT_VERSION}-canary.$(date +'%Y%m%dT%H%M%S')"
9191
9292
- name: Publish '@edgedb/generate'
9393
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
9494
with:
95-
package: packages/generate/package.json
95+
package: edgedb/generate/package.json
9696
token: ${{ secrets.NPM_TOKEN }}
9797
access: public
9898
tag: ${{ steps.check_publish_generate.outputs.type == '' && 'canary' || 'latest' }}
@@ -117,7 +117,7 @@ jobs:
117117
name: Dry-run publish '@edgedb/auth-core' to npm
118118
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
119119
with:
120-
package: packages/auth-core/package.json
120+
package: edgedb/auth-core/package.json
121121
token: ${{ secrets.NPM_TOKEN }}
122122
dry-run: true
123123

@@ -126,13 +126,13 @@ jobs:
126126
run: |
127127
echo "Version in package.json has not changed. Creating canary release."
128128
yarn workspace @edgedb/auth-core version --no-git-tag-version --minor
129-
CURRENT_VERSION=$(node -p "require('./packages/auth-core/package.json').version")
129+
CURRENT_VERSION=$(node -p "require('./edgedb/auth-core/package.json').version")
130130
yarn workspace @edgedb/auth-core version --no-git-tag-version --new-version "${CURRENT_VERSION}-canary.$(date +'%Y%m%dT%H%M%S')"
131131
132132
- name: Publish '@edgedb/auth-core'
133133
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
134134
with:
135-
package: packages/auth-core/package.json
135+
package: edgedb/auth-core/package.json
136136
token: ${{ secrets.NPM_TOKEN }}
137137
access: public
138138
tag: ${{ steps.check_publish_auth_core.outputs.type == '' && 'canary' || 'latest' }}
@@ -157,7 +157,7 @@ jobs:
157157
name: Dry-run publish '@edgedb/auth-nextjs' to npm
158158
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
159159
with:
160-
package: packages/auth-nextjs/package.json
160+
package: edgedb/auth-nextjs/package.json
161161
token: ${{ secrets.NPM_TOKEN }}
162162
dry-run: true
163163

@@ -166,13 +166,13 @@ jobs:
166166
run: |
167167
echo "Version in package.json has not changed. Creating canary release."
168168
yarn workspace @edgedb/auth-nextjs version --no-git-tag-version --minor
169-
CURRENT_VERSION=$(node -p "require('./packages/auth-nextjs/package.json').version")
169+
CURRENT_VERSION=$(node -p "require('./edgedb/auth-nextjs/package.json').version")
170170
yarn workspace @edgedb/auth-nextjs version --no-git-tag-version --new-version "${CURRENT_VERSION}-canary.$(date +'%Y%m%dT%H%M%S')"
171171
172172
- name: Publish '@edgedb/auth-nextjs'
173173
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
174174
with:
175-
package: packages/auth-nextjs/package.json
175+
package: edgedb/auth-nextjs/package.json
176176
token: ${{ secrets.NPM_TOKEN }}
177177
access: public
178178
tag: ${{ steps.check_publish_auth_nextjs.outputs.type == '' && 'canary' || 'latest' }}
@@ -197,7 +197,7 @@ jobs:
197197
name: Dry-run publish '@edgedb/auth-express' to npm
198198
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
199199
with:
200-
package: packages/auth-express/package.json
200+
package: edgedb/auth-express/package.json
201201
token: ${{ secrets.NPM_TOKEN }}
202202
dry-run: true
203203

@@ -206,13 +206,13 @@ jobs:
206206
run: |
207207
echo "Version in package.json has not changed. Creating canary release."
208208
yarn workspace @edgedb/auth-express version --no-git-tag-version --minor
209-
CURRENT_VERSION=$(node -p "require('./packages/auth-express/package.json').version")
209+
CURRENT_VERSION=$(node -p "require('./edgedb/auth-express/package.json').version")
210210
yarn workspace @edgedb/auth-express version --no-git-tag-version --new-version "${CURRENT_VERSION}-canary.$(date +'%Y%m%dT%H%M%S')"
211211
212212
- name: Publish '@edgedb/auth-express'
213213
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
214214
with:
215-
package: packages/auth-express/package.json
215+
package: edgedb/auth-express/package.json
216216
token: ${{ secrets.NPM_TOKEN }}
217217
access: public
218218
tag: ${{ steps.check_publish_auth_express.outputs.type == '' && 'canary' || 'latest' }}
@@ -237,7 +237,7 @@ jobs:
237237
name: Dry-run publish '@edgedb/auth-remix' to npm
238238
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
239239
with:
240-
package: packages/auth-remix/package.json
240+
package: edgedb/auth-remix/package.json
241241
token: ${{ secrets.NPM_TOKEN }}
242242
dry-run: true
243243

@@ -246,13 +246,13 @@ jobs:
246246
run: |
247247
echo "Version in package.json has not changed. Creating canary release."
248248
yarn workspace @edgedb/auth-remix version --no-git-tag-version --minor
249-
CURRENT_VERSION=$(node -p "require('./packages/auth-remix/package.json').version")
249+
CURRENT_VERSION=$(node -p "require('./edgedb/auth-remix/package.json').version")
250250
yarn workspace @edgedb/auth-remix version --no-git-tag-version --new-version "${CURRENT_VERSION}-canary.$(date +'%Y%m%dT%H%M%S')"
251251
252252
- name: Publish '@edgedb/auth-remix'
253253
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
254254
with:
255-
package: packages/auth-remix/package.json
255+
package: edgedb/auth-remix/package.json
256256
token: ${{ secrets.NPM_TOKEN }}
257257
access: public
258258
tag: ${{ steps.check_publish_auth_remix.outputs.type == '' && 'canary' || 'latest' }}
@@ -277,7 +277,7 @@ jobs:
277277
name: Dry-run publish '@edgedb/auth-sveltekit' to npm
278278
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
279279
with:
280-
package: packages/auth-sveltekit/package.json
280+
package: edgedb/auth-sveltekit/package.json
281281
token: ${{ secrets.NPM_TOKEN }}
282282
dry-run: true
283283

@@ -286,13 +286,13 @@ jobs:
286286
run: |
287287
echo "Version in package.json has not changed. Creating canary release."
288288
yarn workspace @edgedb/auth-sveltekit version --no-git-tag-version --minor
289-
CURRENT_VERSION=$(node -p "require('./packages/auth-sveltekit/package.json').version")
289+
CURRENT_VERSION=$(node -p "require('./edgedb/auth-sveltekit/package.json').version")
290290
yarn workspace @edgedb/auth-sveltekit version --no-git-tag-version --new-version "${CURRENT_VERSION}-canary.$(date +'%Y%m%dT%H%M%S')"
291291
292292
- name: Publish '@edgedb/auth-sveltekit'
293293
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
294294
with:
295-
package: packages/auth-sveltekit/package.json
295+
package: edgedb/auth-sveltekit/package.json
296296
token: ${{ secrets.NPM_TOKEN }}
297297
access: public
298298
tag: ${{ steps.check_publish_auth_sveltekit.outputs.type == '' && 'canary' || 'latest' }}
@@ -317,7 +317,7 @@ jobs:
317317
name: Dry-run publish '@edgedb/create' to npm
318318
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
319319
with:
320-
package: packages/create/package.json
320+
package: edgedb/create/package.json
321321
token: ${{ secrets.NPM_TOKEN }}
322322
dry-run: true
323323

@@ -326,13 +326,13 @@ jobs:
326326
run: |
327327
echo "Version in package.json has not changed. Creating canary release."
328328
yarn workspace @edgedb/create version --no-git-tag-version --minor
329-
CURRENT_VERSION=$(node -p "require('./packages/create/package.json').version")
329+
CURRENT_VERSION=$(node -p "require('./edgedb/create/package.json').version")
330330
yarn workspace @edgedb/create version --no-git-tag-version --new-version "${CURRENT_VERSION}-canary.$(date +'%Y%m%dT%H%M%S')"
331331
332332
- name: Publish '@edgedb/create'
333333
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
334334
with:
335-
package: packages/create/package.json
335+
package: edgedb/create/package.json
336336
token: ${{ secrets.NPM_TOKEN }}
337337
access: public
338338
tag: ${{ steps.check_publish_create.outputs.type == '' && 'canary' || 'latest' }}
@@ -357,7 +357,7 @@ jobs:
357357
name: Dry-run publish '@edgedb/ai' to npm
358358
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
359359
with:
360-
package: packages/ai/package.json
360+
package: edgedb/ai/package.json
361361
token: ${{ secrets.NPM_TOKEN }}
362362
dry-run: true
363363

@@ -366,13 +366,13 @@ jobs:
366366
run: |
367367
echo "Version in package.json has not changed. Creating canary release."
368368
yarn workspace @edgedb/ai version --no-git-tag-version --minor
369-
CURRENT_VERSION=$(node -p "require('./packages/ai/package.json').version")
369+
CURRENT_VERSION=$(node -p "require('./edgedb/ai/package.json').version")
370370
yarn workspace @edgedb/ai version --no-git-tag-version --new-version "${CURRENT_VERSION}-canary.$(date +'%Y%m%dT%H%M%S')"
371371
372372
- name: Publish '@edgedb/ai'
373373
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
374374
with:
375-
package: packages/ai/package.json
375+
package: edgedb/ai/package.json
376376
token: ${{ secrets.NPM_TOKEN }}
377377
access: public
378378
tag: ${{ steps.check_publish_ai.outputs.type == '' && 'canary' || 'latest' }}

0 commit comments

Comments
 (0)