Просмотр исходного кода

chore: enable covector prerelease beta (#1518)

Jacob Bolda 4 лет назад
Родитель
Сommit
03a1c95d7e

+ 14 - 0
.changes/beta-rc.md

@@ -0,0 +1,14 @@
+---
+"api": major
+"tauri-bundler": major
+"cli.rs": major
+"cli.js": major
+"tauri-utils": major
+"tauri-codegen": major
+"tauri-macros": major
+"tauri-build": major
+"tauri": major
+"create-tauri-app": major
+---
+
+The beta process has begun!

+ 2 - 0
.changes/config.json

@@ -3,6 +3,7 @@
   "timeout": 3600000,
   "pkgManagers": {
     "rust": {
+      "errorOnVersionRange": "1.0.0-beta-rc.100 - 99.x || ^1.1.0-0 || ^2.0.0-0",
       "version": true,
       "getPublishedVersion": "cargo search ${ pkgFile.pkg.package.name } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -",
       "prepublish": [
@@ -76,6 +77,7 @@
       ]
     },
     "javascript": {
+      "errorOnVersionRange": "1.0.0-beta-rc.100 - 99.x || ^1.1.0-0 || ^2.0.0-0",
       "version": true,
       "getPublishedVersion": "npm view ${ pkgFile.pkg.name } version",
       "prepublish": [

+ 4 - 0
.changes/pre.json

@@ -0,0 +1,4 @@
+{
+  "tag": "beta-rc",
+  "changes": [".changes/beta-rc.md"]
+}

+ 2 - 2
.github/workflows/change-status-on-PR.yml

@@ -14,7 +14,7 @@ jobs:
         with:
           fetch-depth: 0
       - name: covector status
-        uses: jbolda/covector/packages/action@covector-v0
+        uses: jbolda/covector/packages/action@feat/enable-prereleases
         id: covector
         with:
-          command: 'status'
+          command: "status"

+ 3 - 3
.github/workflows/covector-version-or-publish.yml

@@ -25,7 +25,7 @@ jobs:
       - uses: actions/setup-node@v1
         with:
           node-version: 14
-          registry-url: 'https://registry.npmjs.org'
+          registry-url: "https://registry.npmjs.org"
       - name: cargo login
         run: cargo login ${{ secrets.crate_token }}
       - name: git config
@@ -33,14 +33,14 @@ jobs:
           git config --global user.name "${{ github.event.pusher.name }}"
           git config --global user.email "${{ github.event.pusher.email }}"
       - name: covector version or publish (publish when no change files present)
-        uses: jbolda/covector/packages/action@covector-v0
+        uses: jbolda/covector/packages/action@feat/enable-prereleases
         id: covector
         env:
           NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
           CARGO_AUDIT_OPTIONS: ${{ secrets.CARGO_AUDIT_OPTIONS }}
         with:
           token: ${{ secrets.GITHUB_TOKEN }}
-          command: 'version-or-publish'
+          command: "version-or-publish"
           createRelease: true
       - name: Create Pull Request With Versions Bumped
         if: steps.covector.outputs.commandRan == 'version'