We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d95a29 commit 2c4994cCopy full SHA for 2c4994c
.github/workflows/release.yml
@@ -19,7 +19,7 @@ jobs:
19
if: github.event_name == 'release'
20
run: |
21
CURRENT_TAG=${GITHUB_REF#refs/tags/}
22
- CURRENT_VERSION=$(head -n1 social_core/__init__.py | awk '{print $3}' | sed 's/[^0-9\.]//g')
+ CURRENT_VERSION=$(sed -n 's/version = "\(.*\)"/\1/p' pyproject.toml)
23
if [ "${CURRENT_VERSION}" != "${CURRENT_TAG}" ]; then
24
echo "========================================================================"
25
echo "Error: tag '${CURRENT_TAG}' and version '${CURRENT_VERSION}' don't match"
0 commit comments