Update package version to 9.2.2
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="pypa/setuptools-scm"
|
||||||
|
|
||||||
|
# Get tag name using Github Rest API
|
||||||
|
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
|
# Trim 'v' character in TAG_NAME variable
|
||||||
|
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
name: python-setuptools-scm
|
name: python-setuptools-scm
|
||||||
description: Python package to manage your versions by scm tags
|
description: Python package to manage your versions by scm tags
|
||||||
version: 8.1.0
|
version: 9.2.2
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://github.com/pypa/setuptools-scm
|
url: https://github.com/pypa/setuptools-scm
|
||||||
license: MIT
|
license: MIT
|
||||||
|
|||||||
Reference in New Issue
Block a user