Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
echo "FATAL: manifest.json version must be semver x.y.z, got '$VERSION'"
exit 1
fi
LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null | sed 's/^v//' || echo "0.0.0")
LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0")
LATEST_TAG=${LATEST_TAG#v}
echo "manifest=$VERSION latest_tag=$LATEST_TAG"

if [ "$VERSION" != "$LATEST_TAG" ]; then
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 0.0.1
## 1.0.0

Initial public release of the Codex adapter for devkit.

Expand Down Expand Up @@ -37,3 +37,7 @@ Initial public release of the Codex adapter for devkit.
write access; without it, the bump-commit push step will fail.
- Release notes generation now tries both `## ${VERSION}` and `## v${VERSION}`
headers in `CHANGELOG.md` (matching core devkit).
- Release workflow no longer corrupts the version when no git tags exist.
Previously `git describe ... | sed ... || echo 0.0.0` ignored `git describe`'s
failure because the `||` saw `sed`'s success on empty input, leaving
`LATEST_TAG` empty and producing `version=..1` on the first release.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "devkit-codex",
"description": "Codex adapter for devkit MCP workflows and lifecycle hooks",
"version": "..1",
"version": "1.0.0",
"devkit_min": "2.1.30",
"license": "MIT",
"repository": "https://github.com/5uck1ess/devkit-codex",
Expand Down
Loading