Skip to content

Commit 3e611f2

Browse files
committed
feat: test semantic release
1 parent 6320819 commit 3e611f2

File tree

4 files changed

+57
-41
lines changed

4 files changed

+57
-41
lines changed

.github/workflows/pylint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
run: rye run pylint-ci
1818
- name: Check Pylint score
1919
run: |
20+
cd scrapegraph-py
2021
pylint_score=$(rye run pylint-score-ci | grep 'Raw metrics' | awk '{print $4}')
2122
if (( $(echo "$pylint_score < 8" | bc -l) )); then
2223
echo "Pylint score is below 8. Blocking commit."

.releaserc.json

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

.releaserc.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
plugins:
2+
- - "@semantic-release/commit-analyzer"
3+
- preset: conventionalcommits
4+
- - "@semantic-release/release-notes-generator"
5+
- writerOpts:
6+
commitsSort:
7+
- subject
8+
- scope
9+
preset: conventionalcommits
10+
presetConfig:
11+
types:
12+
- type: feat
13+
section: Features
14+
- type: fix
15+
section: Bug Fixes
16+
- type: chore
17+
section: chore
18+
- type: docs
19+
section: Docs
20+
- type: style
21+
hidden: true
22+
- type: refactor
23+
section: Refactor
24+
- type: perf
25+
section: Perf
26+
- type: test
27+
section: Test
28+
- type: build
29+
section: Build
30+
- type: ci
31+
section: CI
32+
- "@semantic-release/changelog"
33+
- "semantic-release-pypi"
34+
- "@semantic-release/github"
35+
- - "@semantic-release/git"
36+
- assets:
37+
- CHANGELOG.md
38+
- scrapegraph-py/pyproject.toml
39+
message: |-
40+
ci(release): ${nextRelease.version} [skip ci]
41+
42+
${nextRelease.notes}
43+
branches:
44+
#child branches coming from tagged version for bugfix (1.1.x) or new features (1.x)
45+
#maintenance branch
46+
- name: "+([0-9])?(.{+([0-9]),x}).x"
47+
channel: "stable"
48+
#release a production version when merging towards main
49+
- name: "main"
50+
channel: "stable"
51+
#prerelease branch
52+
- name: "pre/beta"
53+
channel: "dev"
54+
prerelease: "beta"
55+
debug: true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scrapegraph-sdk",
3-
"version": "0.0.0-development",
3+
"version": "0.0.3",
44
"private": true,
55
"description": "ScrapeGraph SDK monorepo",
66
"repository": {

0 commit comments

Comments
 (0)