Skip to content

Commit 09ad2bd

Browse files
authored
Revert "feat: implement semantic-release (#22)"
This reverts commit 096190d.
1 parent 096190d commit 09ad2bd

File tree

9 files changed

+2529
-10882
lines changed

9 files changed

+2529
-10882
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
node_modules/
2-
build/
3-
mcp-open-library-*.tgz
2+
build/

.husky/commit-msg

Lines changed: 0 additions & 1 deletion
This file was deleted.

.releaserc.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -254,73 +254,13 @@ npm run inspector http://localhost:8080
254254
- `npm test` - Run the test suite
255255
- `npm run format` - Format code with Prettier
256256
- `npm run inspector` - Run the MCP Inspector against the server
257-
- `npm run semantic-release` - Run semantic release (automated in CI)
258257

259258
### Running Tests
260259

261260
```bash
262261
npm test
263262
```
264263

265-
### Releases
266-
267-
This project uses [semantic-release](https://semantic-release.gitbook.io/) for automated versioning and publishing. Releases are automatically created when commits are pushed to the `main` branch using [conventional commit messages](https://www.conventionalcommits.org/).
268-
269-
#### Required Secrets
270-
271-
For the automated release workflow to function, the following secrets must be configured in the GitHub repository:
272-
273-
- `GITHUB_TOKEN` - Automatically provided by GitHub Actions for creating releases and updating the repository
274-
- `NPM_TOKEN` - Required for publishing packages to npm. Generate this token from your npm account with publish permissions
275-
276-
#### Commit Message Format
277-
278-
**⚠️ Important:** This project uses automated semantic versioning. The commit message format directly determines version bumps and changelog generation.
279-
280-
The project follows the [Conventional Commits](https://www.conventionalcommits.org/) specification. Each commit message must be structured as:
281-
282-
```
283-
<type>[optional scope]: <description>
284-
285-
[optional body]
286-
287-
[optional footer(s)]
288-
```
289-
290-
**Supported commit types:**
291-
- `feat:` - new features (triggers **minor** version bump: 1.0.0 → 1.1.0)
292-
- `fix:` - bug fixes (triggers **patch** version bump: 1.0.0 → 1.0.1)
293-
- `feat!:` or `fix!:` - breaking changes (triggers **major** version bump: 1.0.0 → 2.0.0)
294-
- `docs:`, `style:`, `refactor:`, `test:`, `chore:` - maintenance (no version bump)
295-
296-
**Examples:**
297-
```
298-
feat: add new search functionality
299-
fix: resolve timeout issue in API calls
300-
feat!: remove deprecated getBook method
301-
docs: update API documentation
302-
```
303-
304-
**Why this matters:**
305-
- ✅ Proper format → Automatic version bump and release
306-
- ❌ Wrong format → No release, manual intervention required
307-
- 📝 Commit messages become the public changelog
308-
309-
The project validates commit messages automatically to ensure releases work correctly.
310-
311-
#### Development Workflow
312-
313-
The project includes automatic validation to ensure proper commit message format:
314-
315-
- **Pre-commit hooks** validate code quality with linting and tests
316-
- **Commit message validation** ensures conventional commit format using [commitlint](https://commitlint.js.org/)
317-
- **Invalid commit messages** are rejected before they reach the repository
318-
319-
To manually validate a commit message:
320-
```bash
321-
npm run commitlint
322-
```
323-
324264
## Contributing
325265

326266
Contributions are welcome! Please feel free to submit a pull request.

commitlint.config.cjs

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)