mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 17:48:30 +02:00
Require explicit version for manual CLI npm publish workflow
This commit is contained in:
7
.github/workflows/release-cli-npm.yml
vendored
7
.github/workflows/release-cli-npm.yml
vendored
@@ -4,6 +4,11 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags: [v*]
|
tags: [v*]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
description: Version to publish (for example v2026.3.0)
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-binaries:
|
build-binaries:
|
||||||
@@ -97,7 +102,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare npm packages
|
- name: Prepare npm packages
|
||||||
env:
|
env:
|
||||||
YAAK_CLI_VERSION: ${{ github.ref_name }}
|
YAAK_CLI_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.ref_name }}
|
||||||
run: node npm/prepare-publish.js
|
run: node npm/prepare-publish.js
|
||||||
|
|
||||||
- name: Ensure NPM token exists
|
- name: Ensure NPM token exists
|
||||||
|
|||||||
Reference in New Issue
Block a user