Skip to content

Commit

Permalink
Bump version: 0.0.0 → 1.0.0-dev.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nreinartz committed Nov 12, 2023
1 parent 720e3ab commit 4c9c180
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 34 deletions.
62 changes: 31 additions & 31 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
[tool.bumpversion]
commit = true
tag = true
current_version = "0.0.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\-(?P<release>[a-z]+)\\.(?P<build>\\d+))?"
serialize = [
"{major}.{minor}.{patch}-{release}.{build}",
"{major}.{minor}.{patch}"
]

[tool.bumpversion.parts.release]
optional_value = "prod"
first_value = "dev"
values = [
"dev",
"rc",
"prod"
]

[[tool.bumpversion.files]]
filename = "Dockerfile"
search = "version=\"{current_version}\""
replace = "version=\"{new_version}\""


[[tool.bumpversion.files]]
filename = "package.json"
search = "\"version\": \"{current_version}\""
replace = "\"version\": \"{new_version}\""

[[tool.bumpversion.files]]
[tool.bumpversion]
commit = true
tag = true
current_version = "1.0.0-dev.1"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\-(?P<release>[a-z]+)\\.(?P<build>\\d+))?"
serialize = [
"{major}.{minor}.{patch}-{release}.{build}",
"{major}.{minor}.{patch}"
]

[tool.bumpversion.parts.release]
optional_value = "prod"
first_value = "dev"
values = [
"dev",
"rc",
"prod"
]

[[tool.bumpversion.files]]
filename = "Dockerfile"
search = "version=\"{current_version}\""
replace = "version=\"{new_version}\""


[[tool.bumpversion.files]]
filename = "package.json"
search = "\"version\": \"{current_version}\""
replace = "\"version\": \"{new_version}\""

[[tool.bumpversion.files]]
filename = ".github/workflows/docker-image.yml"
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "*"

env:
VERSION: 0.0.0
VERSION: 1.0.0-dev.1

jobs:
docker:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:20-alpine3.17 AS build

LABEL org.opencontainers.image.created=${BUILD_DATE}
LABEL org.opencontainers.image.version="0.0.0"
LABEL org.opencontainers.image.version="1.0.0-dev.1"
LABEL org.opencontainers.image.authors="Nico Reinartz <[email protected]>"
LABEL org.opencontainers.image.vendor="Nico Reinartz"
LABEL org.opencontainers.image.title="Trend Detection WebUI"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tatdd-frontend",
"version": "0.0.0",
"version": "1.0.0-dev.1",
"private": true,
"scripts": {
"dev": "vite",
Expand Down

0 comments on commit 4c9c180

Please sign in to comment.