Skip to content

How to update multiple files? #46

@muuvmuuv

Description

@muuvmuuv

I want to update my package.json and pyproject.toml files version property but it only updates the package.json. I tried as an array (see below) with and without package.json as in and out.

{
	"git": {
		"commitMessage": "Release v${version}",
		"tagName": "v${version}",
		"requireBranch": "main",
		"requireCleanWorkingDir": true,
		"push": false
	},
	"hooks": {
		"before:init": ["pnpm check"],
		"after:bump": "just freeze && git add requirements.txt"
	},
	"npm": {
		"publish": false
	},
	"github": {
		"release": false
	},
	"plugins": {
		"@release-it/bumper": {
			"out": [
				"package.json",
				{
					"file": "pyproject.toml",
					"path": "project.version",
					"type": "text/toml"
				}
			]
		}
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions