Releases are automatically created. They follow the following pattern:
X.Y.Z
(e.g.1.2.3
)service-X.Y.Z
(e.g.api-1.2.3
)
Once one or multiple commits are merged into main, the create-releases.yaml
workflow will check if any versions (of services/the app) have been modified, if that is the case it will create a release following this pattern: {{serviceName}}-{{newVersion}}
for services or {{newVersion}}
for the application.
x-version
incompose.yaml
(version of application)tool.poetry.version
inapi/pyproject.toml
(version of api service)caluma/version.txt
(version of caluma service).version
inember/package.json
(version of ember service)
When services are released the release.yaml
workflow will build && push them to the ghcr registry as ghcr.io/adfinis/mysagw/{{serviceName}}
.
- fix a bug in
/caluma
- adjust the version in
/caluma/version.txt
from1.1.0
to1.1.1
- push && merge
- ci creates a tag called
caluma-1.1.1
and a release for it - ci builds and pushes container image to
ghcr.io/adfinis/mysagw/caluma:1.1.1
- add a feature and update both
api
andember
/api/pyproject.toml
from1.1.1
to1.2.0
/ember/package.jsom
from1.0.6
to1.1.0
- push && merge
- ci creates tags:
api-1.2.0
andember-1.1.0
- ci builds and pushes images to
ghcr.io/adfinis/mysagw/api:1.2.0
andghcr.io/adfinis/mysagw/ember:1.1.0
- edit the
compose.yaml
- edit the
x-version
incompose
from1.2.3
to1.3.0
- push && merge
- ci creates tag
1.3.0