Skip to content

build: automate non-npm version updates #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tree-sitter-vimdoc"
description = "Vim help file grammar for tree-sitter"
version = "2.5.1"
version = "2.5.2-dev.0"
license = "Apache-2.0"
keywords = ["incremental", "parsing", "neovim", "vimdoc"]
categories = ["parsing", "text-editors"]
Expand Down
11 changes: 9 additions & 2 deletions Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ Release
Steps to perform a release:

1. Bump and tag the version:

**First** bump `Cargo.toml`, `pyproject.toml`, and `Makefile` to the new version. **Then** bump the package:
```bash
npm version patch -m "release %s"
```
Expand All @@ -77,8 +75,7 @@ Steps to perform a release:

2. Bump to prerelease, without creating a tag:
```bash
npm version --no-git-tag-version prerelease --preid dev
git add package*.json Cargo.toml pyproject.toml Makefile
npm version prerelease --no-git-tag-version --preid dev
git commit -m bump
```
3. Push:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"build": "tree-sitter generate --no-bindings",
"test": "tree-sitter test",
"install": "node-gyp-build",
"prebuildify": "prebuildify --napi --strip"
"prebuildify": "prebuildify --napi --strip",
"version": "make -s update"
},
"tree-sitter": [
{
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "tree-sitter-vimdoc"
description = "Vim help file grammar for tree-sitter"
version = "2.5.1"
version = "2.5.2-dev.0"
keywords = ["incremental", "parsing", "tree-sitter", "vimdoc"]
classifiers = [
"Intended Audience :: Developers",
Expand Down