diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b316a5a4d..6442a6654 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -194,7 +194,7 @@ jobs: - name: Run e2e tests run: pnpm test:e2e - edge-release: + nightly-release: if: | github.event_name == 'push' && !contains(github.event.head_commit.message, '[skip-release]') && @@ -243,7 +243,7 @@ jobs: name: message-compiler path: packages/message-compiler/dist - - name: Release edge version - run: ./scripts/release-edge.sh + - name: Release nightly version + run: ./scripts/release-nightly.sh env: NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} diff --git a/docs/guide/installation.md b/docs/guide/installation.md index debdac7ee..bd5054859 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -69,12 +69,12 @@ You can also use a specific version/tag via URLs like -## Edge version +## Nightly version Add the following line to the `dependencies` in `package.json`: ```json -"vue-i18n": "npm:@vue-i18n-edge" +"vue-i18n": "npm:@vue-i18n-nightly" ``` And then run `npm install` or `yarn install` or `pnpm install`. diff --git a/scripts/bump.ts b/scripts/bump.ts index 348024462..5c01a5ec7 100644 --- a/scripts/bump.ts +++ b/scripts/bump.ts @@ -137,7 +137,7 @@ async function main() { for (const pkg of workspace.packages.filter(p => !p.data.private)) { workspace.setVersion(pkg.data.name, release) - const newname = pkg.data.name + '-edge' + const newname = pkg.data.name + '-nightly' workspace.rename(pkg.data.name, newname) } diff --git a/scripts/release-edge.sh b/scripts/release-nightly.sh similarity index 90% rename from scripts/release-edge.sh rename to scripts/release-nightly.sh index 65f810a13..7854fe6a5 100755 --- a/scripts/release-edge.sh +++ b/scripts/release-nightly.sh @@ -24,7 +24,7 @@ for PKG in packages/* ; do fi pushd $PKG echo "⚡ Publishing $PKG with edge tag" - pnpm publish --access public --no-git-checks --tag edge + pnpm publish --access public --no-git-checks --tag nightly popd fi done diff --git a/scripts/release.sh b/scripts/release.sh index fe6ce59f6..09ed9a2b8 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -23,7 +23,7 @@ for PKG in packages/* ; do continue fi pushd $PKG - TAG="latest" + TAG="next" echo "⚡ Publishing $PKG with tag $TAG" pnpm publish --access public --no-git-checks --tag $TAG popd > /dev/null