Skip to content

Commit 6804d5f

Browse files
committed
fix: release scripts
1 parent ebf2f81 commit 6804d5f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
- name: Run e2e tests
195195
run: pnpm test:e2e
196196

197-
edge-release:
197+
nightly-release:
198198
if: |
199199
github.event_name == 'push' &&
200200
!contains(github.event.head_commit.message, '[skip-release]') &&
@@ -243,7 +243,7 @@ jobs:
243243
name: message-compiler
244244
path: packages/message-compiler/dist
245245

246-
- name: Release edge version
247-
run: ./scripts/release-edge.sh
246+
- name: Release nightly version
247+
run: ./scripts/release-nightly.sh
248248
env:
249249
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

docs/guide/installation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ You can also use a specific version/tag via URLs like <https://unpkg.com/vue-i18
6969
You can also use a specific version/tag via URLs like <https://unpkg.com/[email protected]/dist/vue-i18n.esm-browser.js>
7070
7171
72-
## Edge version
72+
## Nightly version
7373
7474
Add the following line to the `dependencies` in `package.json`:
7575
7676
```json
77-
"vue-i18n": "npm:@vue-i18n-edge"
77+
"vue-i18n": "npm:@vue-i18n-nightly"
7878
```
7979
8080
And then run `npm install` or `yarn install` or `pnpm install`.

scripts/bump.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ async function main() {
137137

138138
for (const pkg of workspace.packages.filter(p => !p.data.private)) {
139139
workspace.setVersion(pkg.data.name, release)
140-
const newname = pkg.data.name + '-edge'
140+
const newname = pkg.data.name + '-nightly'
141141
workspace.rename(pkg.data.name, newname)
142142
}
143143

scripts/release-edge.sh renamed to scripts/release-nightly.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ for PKG in packages/* ; do
2424
fi
2525
pushd $PKG
2626
echo "⚡ Publishing $PKG with edge tag"
27-
pnpm publish --access public --no-git-checks --tag edge
27+
pnpm publish --access public --no-git-checks --tag nightly
2828
popd
2929
fi
3030
done

scripts/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ for PKG in packages/* ; do
2323
continue
2424
fi
2525
pushd $PKG
26-
TAG="latest"
26+
TAG="next"
2727
echo "⚡ Publishing $PKG with tag $TAG"
2828
pnpm publish --access public --no-git-checks --tag $TAG
2929
popd > /dev/null

0 commit comments

Comments
 (0)