GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: add pub:minor and pub:major commands · yyqqing/lowcode-engine@d957be8

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • publish engine.yml
  • package.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/publish engine.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/publish engine.yml
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Publish Engine
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
publishCommand:
7+
description: 'publish command'
8+
required: true
59

610
jobs:
711
publish-engine:
@@ -21,7 +25,7 @@ jobs:
2125
npm run build
2226
git config --local user.email "[email protected]"
2327
git config --local user.name "GitHub Action"
24-
- run: npm run pub
28+
- run: npm run ${{ github.event.inputs.publishCommand }}
2529
env:
2630
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2731
- name: Get version
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
"lint:modules": "f2elint scan -q -i ./modules/*/src",
2222
"lint:modules:fix": "f2elint fix -i ./modules/*/src",
2323
"pub": "npm run watchdog:build && lerna publish patch --yes --force-publish --exact --no-changelog",
24+
"pub:minor": "npm run watchdog:build && lerna publish minor --yes --force-publish --exact --no-changelog",
25+
"pub:major": "npm run watchdog:build && lerna publish major --yes --force-publish --exact --no-changelog",
2426
"pub:premajor": "npm run watchdog:build && lerna publish premajor --force-publish --exact --dist-tag beta --preid beta --no-changelog",
2527
"pub:preminor": "npm run watchdog:build && lerna publish preminor --force-publish --exact --dist-tag beta --preid beta --no-changelog",
2628
"pub:prepatch": "npm run watchdog:build && lerna publish prepatch --force-publish --exact --dist-tag beta --preid beta --no-changelog",

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.