There was an error while loading. Please reload this page.
1 parent 4d8c89c commit 1d9f702Copy full SHA for 1d9f702
1 file changed
.github/workflows/deploy.yaml
@@ -76,7 +76,7 @@ jobs:
76
run: |
77
SDIST_FILE=$(ls dist/*.tar.gz)
78
# Extract version from sdist archive (format: mdaencore-1.0.1rc1.tar.gz)
79
- VERSION=$(tar xf ${SDIST_FILE} -O '*/*.egg-info/PKG-INFO' | awk '/^Version:/ {print $2}')
+ VERSION=$(tar xf ${SDIST_FILE} -O --wildcards '*/*.egg-info/PKG-INFO' | awk '/^Version:/ {print $2}')
80
echo "version=$VERSION" >> $GITHUB_OUTPUT
81
echo "Extracted version: $VERSION"
82
0 commit comments