瀏覽代碼

Bump version

Caleb Porzio 4 年之前
父節點
當前提交
7ee1348624
共有 3 個文件被更改,包括 5 次插入4 次删除
  1. 1 1
      packages/docs/package.json
  2. 1 1
      packages/docs/src/en/essentials/installation.md
  3. 3 2
      scripts/release.js

+ 1 - 1
packages/docs/package.json

@@ -1,6 +1,6 @@
 {
     "name": "@alpinejs/docs",
-    "version": "3.0.6-revision.3",
+    "version": "3.0.7-revision.1",
     "description": "The documentation for Alpine",
     "author": "Caleb Porzio",
     "license": "MIT"

+ 1 - 1
packages/docs/src/en/essentials/installation.md

@@ -33,7 +33,7 @@ This is by far the simplest way to get started with Alpine. Include the followin
 Notice the `@3.x.x` in the provided CDN link. This will pull the latest version of Alpine version 3. For stability in production, it's recommended that you hardcode the latest version in the CDN link.
 
 ```html
-<script defer src="https://unpkg.com/alpinejs@3.0.6/dist/cdn.min.js"></script>
+<script defer src="https://unpkg.com/alpinejs@3.0.7/dist/cdn.min.js"></script>
 ```
 
 That's it! Alpine is now available for use inside your page.

+ 3 - 2
scripts/release.js

@@ -19,6 +19,7 @@ if (! /[0-9]+\.[0-9]+\.[0-9]+/.test(version)) {
 writeNewAlpineVersion()
 writeNewDocsVersion()
 buildAssets()
+run(`open https://github.com/alpinejs/alpine/compare/v${prevVersion}...main`)
 
 setTimeout(() => {
     ask('Have you reviewed, committed, and pushed all the files for this release?', () => {
@@ -109,8 +110,8 @@ async function getPullRequestsSince(since) {
 
 async function tagNewRelease(name, content) {
     await axios.post('https://api.github.com/repos/alpinejs/alpine/releases', {
-        name: name,
-        tag_name: name,
+        name: 'v'+name,
+        tag_name: 'v'+name,
         target_commitish: 'main',
         body: content,
         draft: true,