Browse Source

Bump version

Caleb Porzio 4 năm trước cách đây
mục cha
commit
7ee1348624

+ 1 - 1
packages/docs/package.json

@@ -1,6 +1,6 @@
 {
 {
     "name": "@alpinejs/docs",
     "name": "@alpinejs/docs",
-    "version": "3.0.6-revision.3",
+    "version": "3.0.7-revision.1",
     "description": "The documentation for Alpine",
     "description": "The documentation for Alpine",
     "author": "Caleb Porzio",
     "author": "Caleb Porzio",
     "license": "MIT"
     "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.
 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
 ```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.
 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()
 writeNewAlpineVersion()
 writeNewDocsVersion()
 writeNewDocsVersion()
 buildAssets()
 buildAssets()
+run(`open https://github.com/alpinejs/alpine/compare/v${prevVersion}...main`)
 
 
 setTimeout(() => {
 setTimeout(() => {
     ask('Have you reviewed, committed, and pushed all the files for this release?', () => {
     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) {
 async function tagNewRelease(name, content) {
     await axios.post('https://api.github.com/repos/alpinejs/alpine/releases', {
     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',
         target_commitish: 'main',
         body: content,
         body: content,
         draft: true,
         draft: true,