From 224dbdcf6dd883fb662bb3dd52c92959b996613d Mon Sep 17 00:00:00 2001 From: Nina Bernick Date: Wed, 31 Jul 2024 15:02:33 -0700 Subject: [PATCH] use git as versioning --- README.md | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 18f3d23..710bd67 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ The libraries and tools that make Platformics work: 5. Run `make token` to generate an authorization token that you can use to interact with the API. The `make` target copies the necessary headers to the system clipboard. Paste the token into the `headers` section at the bottom of the GraphQL explorer API ## Versioning platformics -Right now, platformics is used in downstream applications by using the platformics image as the base Docker image. To select a version of platformics, add the appropriate version tags to the docker image. +Right now, platformics is used in downstream applications by using the platformics image as the base Docker image. To select a version of platformics, add the appropriate version tags to the docker image. The version in `pyproject.toml` is managed using [poetry-dynamic-versioning](https://pypi.org/project/poetry-dynamic-versioning/) which determines version based on git tags. ## Iterating on your schema 1. Make changes to `schema/schema.yml` diff --git a/pyproject.toml b/pyproject.toml index 54b18d7..6e513c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,7 @@ build-backend = "poetry_dynamic_versioning.backend" [tool.poetry-dynamic-versioning] enable = true +vcs = "git" [tool.black] line-length = 120