-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
This PR #71 triggered a beta build with the wrong BASE_VERSION (0.0.1).
https://www.npmjs.com/package/make-agent/v/0.0.1-ajv-error-f93363f
Code is here:
make-agent/.github/workflows/branch-release.yaml
Lines 41 to 54 in 7c25aac
| BRANCH_NAME=${GITHUB_REF#refs/heads/} | |
| BRANCH_NAME=${BRANCH_NAME//\//-} # Replace slashes with dashes | |
| SHORT_SHA=$(git rev-parse --short HEAD) | |
| # Get the latest version tag and increment patch | |
| LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0") | |
| LATEST_VERSION=${LATEST_TAG#v} # Remove 'v' prefix | |
| # Split version into major.minor.patch | |
| IFS='.' read -r major minor patch <<< "$LATEST_VERSION" | |
| # Increment patch version | |
| patch=$((patch + 1)) | |
| BASE_VERSION="${major}.${minor}.${patch}" |
Introduced in #60
Original Issue: #56 (should be reopened).
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working