diff --git a/.bumpversion.toml b/.bumpversion.toml index 7acb3e3..febd928 100644 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -1,32 +1,32 @@ -[tool.bumpversion] -commit = true -tag = true -current_version = "0.0.0" -parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)(\\-(?P[a-z]+)\\.(?P\\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\\d+)\\.(?P\\d+)\\.(?P\\d+)(\\-(?P[a-z]+)\\.(?P\\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" \ No newline at end of file diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index c2ec53b..1c57252 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -6,7 +6,7 @@ on: - "*" env: - VERSION: 0.0.0 + VERSION: 1.0.0-dev.1 jobs: docker: diff --git a/Dockerfile b/Dockerfile index 70bdaa8..1676c84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 " LABEL org.opencontainers.image.vendor="Nico Reinartz" LABEL org.opencontainers.image.title="Trend Detection WebUI" diff --git a/package.json b/package.json index dc74bd1..03f28cf 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tatdd-frontend", - "version": "0.0.0", + "version": "1.0.0-dev.1", "private": true, "scripts": { "dev": "vite",