Conversation
- Use @std/semver for proper semantic version parsing and incrementing - Switch to timestamp-based dev versions (e.g., 0.3.0-dev.1734293847) for merge safety - Add validation to prevent bumping while on dev/prerelease versions - Refactor with cleaner helper functions: isDev(), getStableBase(), parseSemVerOrThrow() - Update help text to reflect timestamp-based dev versioning This makes dev releases merge-safe and prevents version conflicts when multiple branches create dev releases simultaneously.
- Document new timestamp-based dev versioning (e.g., 0.3.0-dev.1734293847) - Add dev pre-release workflow section - Explain merge-safety benefits of timestamp-based versions - Document version reset command - Note restriction on bumping while on dev/prerelease versions - Fix markdown linting warnings (use headings instead of bold emphasis)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
GitHub Actions Workflow
contents: writepermission (required for creating releases)softprops/action-gh-release@v2Version Management
scripts/version.tsto use@std/semverfor version parsing@std/semvertodeno.jsonimportsDocumentation
CLAUDE.mdwith dev versioning detailsCHANGELOG.mdTest Results
Successfully tested with dev pre-release:
See: https://github.com/TheSwanFactory/deno-hooks/releases/tag/v0.3.0-dev.1765827924
Next Steps
After merge, stable releases created with
deno task version tagwill also generate GitHub releases automatically.🤖 Generated with Claude Code