Skip to content

ci(release): simplify workflow and use dynamic version from git tags#16

Merged
flexiondotorg merged 5 commits intomainfrom
rel
Mar 22, 2026
Merged

ci(release): simplify workflow and use dynamic version from git tags#16
flexiondotorg merged 5 commits intomainfrom
rel

Conversation

@flexiondotorg
Copy link
Copy Markdown
Member

  • Replace manual version commit step with release existence validation
  • Set package.json version to placeholder (0.0.0) since CI stamps version from git tag
  • Reduces friction in release automation by removing unnecessary local commits

- Replace manual version commit step with release existence validation
- Set package.json version to placeholder (0.0.0) since CI stamps
  version from git tag
- Reduces friction in release automation by removing unnecessary local
  commits

Signed-off-by: Martin Wimpress <code@wimpress.io>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Add credential validation before attempting VMP signing to prevent
execution errors when EVS_ACCOUNT_NAME or EVS_PASSWD are not set.

Signed-off-by: Martin Wimpress <code@wimpress.io>
Refactor version resolution to work for both tag and non-tag builds:
- Replace npm version command with bash script for flexibility
- Use git describe for fallback version on branch pushes
- Maintain tag-based versioning when pushing tags

Signed-off-by: Martin Wimpress <code@wimpress.io>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 2 files (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/builder.yml">

<violation number="1" location=".github/workflows/builder.yml:139">
P1: Non-tag builds can generate a non-semver `VERSION` from `git describe`, causing `npm version` to fail and break CI builds.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

- Use `git describe --tags --abbrev=0` for cleaner tag output
- Strip leading 'v' prefix from version string
- Add fallback to "0.0.0-dev" when no tags exist
- Simplifies version handling on non-tag builds

Signed-off-by: Martin Wimpress <code@wimpress.io>
- Add fetch-depth: 0 to actions/checkout for full history
- Replace multi-line bash conditional with simpler git describe command
- Use echo fallback for missing tags instead of explicit if-block

Signed-off-by: Martin Wimpress <code@wimpress.io>
@flexiondotorg flexiondotorg merged commit ab07d60 into main Mar 22, 2026
11 checks passed
@flexiondotorg flexiondotorg deleted the rel branch March 22, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant