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 44d0ea6 commit 4cd3de2Copy full SHA for 4cd3de2
.github/workflows/presto-release-prepare.yml
@@ -62,14 +62,9 @@ jobs:
62
git config pull.rebase false
63
64
- name: Set presto release version
65
- run: |
66
- unset MAVEN_CONFIG && ./mvnw versions:set -DremoveSnapshot -ntp
67
-
68
- - name: Get presto release version
69
id: get-version
70
run: |
71
- PRESTO_RELEASE_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate \
72
- -Dexpression=project.version -q -ntp -DforceStdout | tail -n 1)
+ PRESTO_RELEASE_VERSION=$(grep -m 1 "^ <version>" pom.xml | sed -e 's/.*<version>\(.*\)<\/version>.*/\1/' | sed -e 's/-SNAPSHOT//')
73
echo "PRESTO_RELEASE_VERSION=$PRESTO_RELEASE_VERSION" >> $GITHUB_ENV
74
echo "PRESTO_RELEASE_VERSION=$PRESTO_RELEASE_VERSION"
75
0 commit comments