From 922fdc71fd3d0bcb82d46f0ff50d8f777431545f Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 27 Aug 2026 15:13:10 -0400 Subject: [PATCH] only publish to beta tag and version bump --- .github/workflows/npm-publish.yml | 11 +++-------- package.json | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 7cde0e48..eb45ddda 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -40,12 +40,7 @@ jobs: - name: Build run: npm run build + # Always publish under the beta dist-tag. Promote to latest manually: + # npm dist-tag add @agility/cli@ latest - name: Publish - run: | - PKG_VERSION=$(node -p "require('./package.json').version") - PRERELEASE_TAG=$(echo "$PKG_VERSION" | grep -oP '(?<=-)\w+' | head -1 || true) - if [ -n "$PRERELEASE_TAG" ]; then - npm publish --access public --tag "$PRERELEASE_TAG" - else - npm publish --access public - fi + run: npm publish --access public --tag beta diff --git a/package.json b/package.json index db93f422..238f1a33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@agility/cli", - "version": "1.0.0", + "version": "1.0.1", "repository": { "type": "git", "url": "https://github.com/agility/agility-cli.git"