Skip to content

Commit

Permalink
build: set version to "x.y.z-dev" format
Browse files Browse the repository at this point in the history
  • Loading branch information
Hicham committed Dec 11, 2024
1 parent 4240974 commit 3d74602
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ jobs:
- name: Retrieve version
run: |
VERSION=$(grep '^version =' pyproject.toml | sed -E 's/version = "(.*)"/\1/')
SUFFIX=$(grep '^version-suffix =' pyproject.toml | sed -E 's/version-suffix = "(.*)"/\1/')
echo "VERSION=$VERSION$SUFFIX" >> $GITHUB_ENV
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[project]
name = "Cohort360-Backend"
version = "3.25.0"
version-suffix = "-SNAPSHOT"
version = "3.25.0-dev"
authors = ["Assistance Publique - Hopitaux de Paris, Département I&D"]
description = """Supports the official **Cohort360** web app and **Portail**
Built by **APHP**, _Département I&D_
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3d74602

Please sign in to comment.