Skip to content

Commit

Permalink
🧑‍💻 Added bumpversion
Browse files Browse the repository at this point in the history
  • Loading branch information
joeribekker committed May 22, 2024
1 parent a087b3a commit 1894d2d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 5 deletions.
29 changes: 29 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[bumpversion]
commit = False
tag = False
current_version = 0.1.0
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<pre>[a-z]+)\.(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}-{pre}.{build}
{major}.{minor}.{patch}

[bumpversion:part:pre]
first_value = alpha
values =
alpha
beta
rc

[bumpversion:file:src/referentielijsten/__init__.py]

[bumpversion:file:README.rst]
search = :Version: {current_version}
replace = :Version: {new_version}

[bumpversion:file:README.EN.rst]
search = :Version: {current_version}
replace = :Version: {new_version}

[bumpversion:file:package.json]
search = "version": "{current_version}",
replace = "version": "{new_version}",
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "referentielijsten",
"version": "1.0.0-alpha.0",
"description": "referentielijsten project",
"version": "0.1.0",
"description": "Referentielijsten API project",
"main": "src/static/referentielijsten/js/referentielijsten.js",
"directories": {
"doc": "doc"
Expand All @@ -14,10 +14,10 @@
},
"repository": {
"type": "git",
"url": "git+ssh://git@bitbucket.org/maykinmedia/referentielijsten.git"
"url": "git+ssh://git@github.com/maykinmedia/referentielijsten.git"
},
"author": "Maykin Media",
"license": "UNLICENSED",
"author": "Maykin",
"license": "EUPL",
"homepage": "https://maykinmedia.nl",
"dependencies": {
"microscope-sass": "latest"
Expand Down

0 comments on commit 1894d2d

Please sign in to comment.