Skip to content

Commit

Permalink
Add version tagging script
Browse files Browse the repository at this point in the history
  • Loading branch information
OmeGak committed Apr 9, 2024
1 parent cf2b915 commit a2f7bed
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/tag.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# This file is part of Flask-Multipass-Keycloak.
# Copyright (C) 2023 - 2024 CERN & UNCONVENTIONAL

set -e

VERSION=$(grep '^version =' pyproject.toml | cut -d '"' -f 2)
TAG="v${VERSION}"

git tag "${TAG}" -m "Release ${TAG}."
echo "Tag ${TAG} was created"

0 comments on commit a2f7bed

Please sign in to comment.