Skip to content

Add release-it to project to prepare for V3#12

Merged
neoscie merged 3 commits intomainfrom
feature/release-it
Jun 14, 2023
Merged

Add release-it to project to prepare for V3#12
neoscie merged 3 commits intomainfrom
feature/release-it

Conversation

@neoscie
Copy link
Copy Markdown
Contributor

@neoscie neoscie commented Jun 14, 2023

No description provided.

@neoscie neoscie requested a review from neotrow June 14, 2023 07:33
Copy link
Copy Markdown
Contributor

@neotrow neotrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a .release-it.json is missing.

I suggest something like this:

{
  "git": {
    "push": true
  },
  "npm": {
    "publish": false,
    "skipChecks": true
  },
  "github": {
    "release": true
  },
  "plugins": {
    "@release-it/keep-a-changelog": {
      "filename": "CHANGELOG.md",
      "addVersionUrl": true,
      "addUnreleased": true,
      "strictLatest": false
    }
  },
  "hooks": {
    "before:git:release": "npx prettier -y --write CHANGELOG.md && git add CHANGELOG.md"
  }
}

strictLatest can be set to true after the first release with release it.

@neoscie
Copy link
Copy Markdown
Contributor Author

neoscie commented Jun 14, 2023

.release-it.json

Done, I thought I add it in the V3 branch, but maybe it's better to try the releases in V2 first ;)

@neoscie neoscie merged commit 55ccef8 into main Jun 14, 2023
@neoscie neoscie deleted the feature/release-it branch June 14, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants